Esempio n. 1
0
 public Kamehameha(ZeldaGame game, EnemyRoshi roshi, RoshiStateMachine roshiState)
 {
     this.game          = game;
     this.roshi         = roshi;
     this.roshiState    = roshiState;
     this.spriteFactory = roshi.spriteFactory;
     this.drawLocation  = Vector2.Add(roshi.drawLocation, new Vector2(40 * 3, -24 * 3));
     this.spriteScalar  = game.util.spriteScalar;
 }
Esempio n. 2
0
 public SpiritBomb(ZeldaGame game, EnemyRoshi roshi, RoshiStateMachine roshiState, Vector2 trajectory)
 {
     this.game          = game;
     this.roshi         = roshi;
     this.roshiState    = roshiState;
     this.spriteFactory = roshi.spriteFactory;
     this.drawLocation  = Vector2.Add(roshi.drawLocation, new Vector2(-45, -250));
     this.myState       = new SpiritBombStateMachine(this);
     this.spriteScalar  = game.util.spriteScalar;
     this.trajectory    = trajectory;
 }
Esempio n. 3
0
 public KiBlast(ZeldaGame game, EnemyRoshi roshi, RoshiStateMachine roshiState, Vector2 trajectory)
 {
     this.game          = game;
     this.roshi         = roshi;
     this.roshiState    = roshiState;
     this.spriteFactory = game.enemySpriteFactory;
     this.drawLocation  = Vector2.Add(roshi.drawLocation, KiBlastStorage.DRAWLOCATION_OFFSET);
     this.myState       = new KiBlastStateMachine(this);
     this.spriteScalar  = game.util.spriteScalar;
     this.trajectory    = trajectory;
 }
Esempio n. 4
0
 public RoshiHold(EnemyRoshi roshi, RoshiSpriteFactory spriteFactory, RoshiStateMachine roshiState)
 {
     this.roshi         = roshi;
     this.spriteFactory = spriteFactory;
     this.roshiState    = roshiState;
 }