Exemplo n.º 1
0
    public void PlayerTravelInDirection(MapLevel.MoveDirection dir)
    {
        if (GameState == State.Travel)
        {
            AudioManager.Find().PlaySound(AudioManager.SoundType.LEVEL_TRANSITION);

            playerMove = MapLevel.GetMoveDirOffset(dir);

            MoveToNextLevel();

            StartPlayState();
        }
    }
Exemplo n.º 2
0
 public NeighbourInfo(MapLevel.MoveDirection dir)
 {
     Direction = dir;
     Offset    = MapLevel.GetMoveDirOffset(dir);
 }