Exemplo n.º 1
0
 public void Transition(GlobalData.MainMenu.MenuLevel enTarget)
 {
     this.enTargetMenuLevel = enTarget;
     this.iMenuLevelSwitch = 1;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
		public StatuePlayerDisplayRC(GlobalData.MainMenu.CharacterDisplay xDisplay, Vector2 v2Pos)
		{
			this.xTransform = new TransformComponent(v2Pos);
			this.xDisplay = xDisplay;
		}