예제 #1
0
 protected MenuEntry(MenuScreen screen, Texture2D texture)
 {
     Color = screen.Normal;
     ParentMenu = screen;
     EntryTexture = texture;
     BoundingRectangle = new Rectangle(0, 0, 0, 0);
 }
예제 #2
0
 protected MenuEntry(MenuScreen screen, string title)
 {
     Color = screen.Normal;
     ParentMenu = screen;
     EntryTitle = title;
     BoundingRectangle = new Rectangle(0, 0, 0, 0);
 }
예제 #3
0
 public MainMenuEntry(MenuScreen menu, string title, string description)
     : base(menu, title)
 {
     EntryDescription = description;
 }
예제 #4
0
 public void AddSubMenu(MenuScreen subMenu)
 {
     _hasSubMenu = true;
     SubMenu = subMenu;
 }
예제 #5
0
 public void AddSubMenu(MenuScreen subMenu)
 {
     _hasSubMenu = true;
     SubMenu     = subMenu;
 }