Exemple #1
0
 public DownMovingDodongoState(Dodongo dodongo)
 {
     this.dodongo = dodongo;
     sprite       = EnemySpriteFactory.Instance.CreateSpriteEnemyDodongoDown();
 }
 public RightMovingDodongoState(Dodongo dodongo)
 {
     this.dodongo = dodongo;
     sprite       = EnemySpriteFactory.Instance.CreateSpriteEnemyDodongoRight();
 }
Exemple #3
0
 public BePuffedUpState(Dodongo dodongo)
 {
     this.dodongo = dodongo;
     sprite       = EnemySpriteFactory.Instance.CreateSpriteEnemyDodongoUpPuffed();
 }
Exemple #4
0
 public BePuffedDownState(Dodongo dodongo)
 {
     this.dodongo = dodongo;
     sprite       = EnemySpriteFactory.Instance.CreateSpriteEnemyDodongoLeftPuffed();
     location     = Constant.EnemyStartPosition;
 }