Пример #1
0
 // create a UiSystem with default/no stripe (for edit mode)
 public UiSystem(bool hasStripe = true)
 {
     if (hasStripe)
     {
         stripe = new UiStripe();
     }
     stack     = new List <UiElement>();
     locations = new List <Vector2>();
 }
Пример #2
0
 public UiSystem(ContentManager Content)
 {
     stripe    = new UiStripe(Content);
     stack     = new List <UiElement>();
     locations = new List <Vector2>();
 }