コード例 #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();
        }
    }
コード例 #2
0
 public NeighbourInfo(MapLevel.MoveDirection dir)
 {
     Direction = dir;
     Offset    = MapLevel.GetMoveDirOffset(dir);
 }