Beispiel #1
0
 public SpriteMenuItem(string i_ConstText, Game i_Game, bool i_ActiveItem, int i_ItemIndex, string i_Text, MenuItemsScreen i_Screen)
     : base(k_FontAssetName, i_Game, i_ConstText + i_Text)
 {
     r_ConstText       = i_ConstText;
     m_ItemIndex       = i_ItemIndex;
     m_ActiveItem      = i_ActiveItem;
     m_ReplaceableText = i_Text;
     setColor();
     selfRegister(i_Screen);
 }
Beispiel #2
0
 private void selfRegister(MenuItemsScreen i_Screen)
 {
     i_Screen.AddToItemsScreen(this);
 }
Beispiel #3
0
 public SpriteMenuItem(string i_ConstText, Game i_Game, SpriteMenuItem i_PreviouseInListItem, int i_ItemIndex, string i_ReplaceableText, MenuItemsScreen i_Screen)
     : this(i_ConstText, i_Game, false, i_ItemIndex, i_ReplaceableText, i_Screen)
 {
     m_PreviouseInListItem          = i_PreviouseInListItem;
     i_PreviouseInListItem.NextItem = this;
 }