コード例 #1
0
 private void HandleInput(MovementInstruction instruction)
 {
     if (_playerMovementManager.GetState() == this && _playerMovementManager.IsValidMove(instruction))
     {
         _playerMovementManager.SetState(new EntityMovingState(_playerMovementManager, instruction));
     }
 }