public void Transition(GlobalData.MainMenu.MenuLevel enTarget) { this.enTargetMenuLevel = enTarget; this.iMenuLevelSwitch = 1; }
public int AddHighScore(GlobalData.RogueLikePersistentData.HighScoreEntry xHighScore) { int iAddIndex = 0; int i = 0; while (i < this.lxHighScoreEntries.Count && xHighScore.iScore <= this.lxHighScoreEntries[i].iScore) { iAddIndex++; i++; } this.lxHighScoreEntries.Insert(iAddIndex, xHighScore); if (this.lxHighScoreEntries.Count > 10) { this.lxHighScoreEntries.RemoveAt(10); } return iAddIndex; }
public StatuePlayerDisplayRC(GlobalData.MainMenu.CharacterDisplay xDisplay, Vector2 v2Pos) { this.xTransform = new TransformComponent(v2Pos); this.xDisplay = xDisplay; }