16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 18:19:19 +02:00

randomized delay for using of security system button by AI

This commit is contained in:
Królik Uszasty
2021-05-25 20:26:16 +02:00
parent 81fe7e2187
commit 1eafc46ec9
2 changed files with 7 additions and 1 deletions

View File

@@ -435,6 +435,7 @@ private:
double LastReactionTime = 0.0;
double fActionTime = 0.0; // czas używany przy regulacji prędkości i zamykaniu drzwi
double m_radiocontroltime{ 0.0 }; // timer used to control speed of radio operations
double m_securitysystemreset { 1.0 }; // timer used to control speed of security system resetting
TAction eAction{ TAction::actUnknown }; // aktualny stan
std::list< std::tuple<locale::string, hintpredicate, float> > m_hints; // queued ai operations