{
double GameConstants::HeightStandardDeviation = 3.0l;
double GameConstants::WeightStandardDeviation = 3.0l;
+ double GameConstants::ActionWaitDeviation = 2.0l;
GameConstants::GameConstants(void)
{
static double HeightStandardDeviation;
static double WeightStandardDeviation;
+ static double ActionWaitDeviation;
/*!
* @brief GameConstants \83N\83\89\83X\83R\83\93\83X\83g\83\89\83N\83^
void HaveGameTime::PlusWait(ACTION_WAIT plusWait)
{
+ double wait = plusWait;
this->wait += plusWait;
+ std::normal_distribution<> distWait(wait, GameConstants::ActionWaitDeviation);
+ this->wait += (ACTION_WAIT)distWait(Dice::mt);
}
}
#include "stdafx.h"
#include "Color.h"
#include "Deeangband.h"
+#include "Dice.h"
+#include "GameConstants.h"
namespace Deeangband
{