Пример #1
0
 //---------------------------------------------------------------------
 void change2strafeFireState()
 {
     mDecisionCounter.setDelayTime(0.5f);
     AIState = _tAIState.strafeFire;
 }
Пример #2
0
 //---------------------------------------------------------------------
 void change2randomFireState()
 {
     mDecisionCounter.setDelayTime(getRandomRange(1, 3));
     AIState = _tAIState.randomFire;
 }
Пример #3
0
 //---------------------------------------------------------------------
 void change2rapidFireState()
 {
     mDecisionCounter.setDelayTime(0.1f);
     AIState = _tAIState.rapidFire;
 }
Пример #4
0
 //---------------------------------------------------------------------
 void change2longFireState()
 {
     mDecisionCounter.setDelayTime(0.2f);
     AIState = _tAIState.longFire;
 }
Пример #5
0
 //---------------------------------------------------------------------
 void change2observeState()
 {
     mDecisionCounter.setDelayTime(getRandomRange(1, 3));
     AIState = _tAIState.observe;
 }
Пример #6
0
 //---------------------------------------------------------------------
 void change2attentionFireState()
 {
     mDecisionCounter.setDelayTime(0.5f);
     AIState = _tAIState.attentionFire;
 }
Пример #7
0
 //---------------------------------------------------------------------
 void change2lockFishState()
 {
     mDecisionCounter.setDelayTime(0.1f);
     AIState = _tAIState.lockFish;
 }
Пример #8
0
 //---------------------------------------------------------------------
 void change2rapidFireState()
 {
     mDecisionCounter.setDelayTime(0.1f);
     AIState = _tAIState.rapidFire;
 }
Пример #9
0
 //---------------------------------------------------------------------
 void change2lockFishState()
 {
     mDecisionCounter.setDelayTime(0.1f);
     AIState = _tAIState.lockFish;
 }
Пример #10
0
 //---------------------------------------------------------------------
 void change2longFireState()
 {
     mDecisionCounter.setDelayTime(0.2f);
     AIState = _tAIState.longFire;
 }
Пример #11
0
 //---------------------------------------------------------------------
 void change2strafeFireState()
 {
     mDecisionCounter.setDelayTime(0.5f);
     AIState = _tAIState.strafeFire;
 }
Пример #12
0
 //---------------------------------------------------------------------
 void change2attentionFireState()
 {
     mDecisionCounter.setDelayTime(0.5f);
     AIState = _tAIState.attentionFire;
 }
Пример #13
0
 //---------------------------------------------------------------------
 void change2randomFireState()
 {
     mDecisionCounter.setDelayTime(getRandomRange(1, 3));
     AIState = _tAIState.randomFire;
 }
Пример #14
0
 //---------------------------------------------------------------------
 void change2observeState()
 {
     mDecisionCounter.setDelayTime(getRandomRange(1, 3));
     AIState = _tAIState.observe;
 }