/// <summary> /// Constructor /// </summary> /// <param name="idleFactory"></param> /// <param name="movingFactory"></param> public PlayerStateFactory( PlayerIdleState.Factory idleFactory, PlayerMovingState.Factory movingFactory) { _idleFactory = idleFactory; _movingFactory = movingFactory; }
public PlayerStateFactory( PlayerIdleState.Factory idleFactory, PlayerAttackState.Factory attackFactory, PlayerDeadState.Factory deadFactory) { _idleFactory = idleFactory; _attackFactory = attackFactory; _deadFactory = deadFactory; }