public ThrowState( IPlayer player, IPillow pillow, IInputManager inputManager, IPlayerSettings playerSettings, PlayerMovement.Factory playerMovementFactory, WalkState.Factory walkStateFactory ) { this.player = player; this.pillow = pillow; this.inputManager = inputManager; this.playerSettings = playerSettings; this.playerMovement = playerMovementFactory.Create(player); this.walkStateFactory = walkStateFactory; }
public PillowCarryState( IPlayer player, IPillow pillow, PlayerMovement.Factory playerMovementFactory, IInputManager inputManager, WalkState.Factory walkStateFactory, ThrowState.Factory throwStateFactory ) { this.player = player; this.pillow = pillow; this.playerMovement = playerMovementFactory.Create(player); this.inputManager = inputManager; this.walkStateFactory = walkStateFactory; this.throwStateFactory = throwStateFactory; }