Пример #1
0
 public void AddGameLayer(GameLayer gameLayer, Boolean active = false)
 {
     gameLayer.DependencyInjection(this);
     _gameLayers.Add(gameLayer);
     if (active) {
         ShowScreen(gameLayer);
     }
 }
Пример #2
0
 public void AddGameLayer(GameLayer gameLayer, Boolean active = false)
 {
     gameLayer.DependencyInjection(this);
     _gameLayers.Add(gameLayer);
     if (active)
     {
         ShowScreen(gameLayer);
     }
 }