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; }
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; }
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; }
public RoshiHold(EnemyRoshi roshi, RoshiSpriteFactory spriteFactory, RoshiStateMachine roshiState) { this.roshi = roshi; this.spriteFactory = spriteFactory; this.roshiState = roshiState; }