Example #1
0
 public void addScreen(ScreenId id, Screen s, bool update = true, bool draw = true)
 {
     s.DoUpdate = update;
     s.DoDraw = draw;
     s.LoadContent();
     screens.Add(id, s);
 }
Example #2
0
 public void addScreen(ScreenId id, Screen s, bool update = true, bool draw = true)
 {
     s.DoUpdate = update;
     s.DoDraw   = draw;
     s.LoadContent();
     screens.Add(id, s);
 }
Example #3
0
 public void addScreen(ScreenId id, Screen s, bool update = true, bool draw = true)
 {
     s.setUpdate(update);
     s.setDraw(draw);
     s.LoadContent();
     screens.Add(id, s);
 }