Esempio n. 1
0
 public LevelBuilder() : base()
 {
     tbTextures = new ToolBarTextures();
     Add(tbTextures);
     tbObjects        = new ToolBarObjects();
     tbObjects.active = false;
     Add(tbObjects);
     Add(new ToolBarSelector(tbTextures, tbObjects));
 }
Esempio n. 2
0
 public ToolBarSelector(ToolBarTextures tbTextures, ToolBarObjects tbObjects) : base()
 {
     this.tbTextures = tbTextures;
     this.tbObjects  = tbObjects;
     selected        = -1;
     items           = new List <ToolBarSelectorItem>
     {
         new ToolBarSelectorItem("Land Textures", LIST_TEXTURES),
         new ToolBarSelectorItem("Game Objects", LIST_OBJECTS)
     };
 }