Exemple #1
0
 public RoshiStateMachine(EnemyRoshi roshi)
 {
     game          = roshi.game;
     this.roshi    = roshi;
     spriteFactory = new RoshiSpriteFactory(game);
     this.helper   = new RoshiStateMachineHelper(roshi, this);
 }
Exemple #2
0
 public RoshiStateMachineHelper(EnemyRoshi roshi, RoshiStateMachine roshiState)
 {
     this.game       = roshi.game;
     this.roshi      = roshi;
     this.roshiState = roshiState;
     spriteFactory   = new RoshiSpriteFactory(game);
 }