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