public void PlayerTravelInDirection(MapLevel.MoveDirection dir) { if (GameState == State.Travel) { AudioManager.Find().PlaySound(AudioManager.SoundType.LEVEL_TRANSITION); playerMove = MapLevel.GetMoveDirOffset(dir); MoveToNextLevel(); StartPlayState(); } }
public NeighbourInfo(MapLevel.MoveDirection dir) { Direction = dir; Offset = MapLevel.GetMoveDirOffset(dir); }