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