Ejemplo n.º 1
0
 public void AddGameLayer(GameLayer gameLayer, Boolean active = false)
 {
     gameLayer.DependencyInjection(this);
     _gameLayers.Add(gameLayer);
     if (active) {
         ShowScreen(gameLayer);
     }
 }
Ejemplo n.º 2
0
 public void AddGameLayer(GameLayer gameLayer, Boolean active = false)
 {
     gameLayer.DependencyInjection(this);
     _gameLayers.Add(gameLayer);
     if (active)
     {
         ShowScreen(gameLayer);
     }
 }