Пример #1
0
 void TakeStep()
 {
     if (GameState._isInside)
     {
         _playerEvent.PlayerStepInside(new PlayerEvent.PlayerStepInsideEventArgs {
         });
     }
     else if (GameState._isOnMetal)
     {
         _playerEvent.PlayerStepMetal(new PlayerEvent.PlayerStepMetalEventArgs {
         });
     }
     else
     {
         _playerEvent.PlayerStep(new PlayerEvent.PlayerStepEventArgs {
         });
     }
 }