Exemplo n.º 1
0
 public GameRenderer(AbstractGame abstractGame, float scaleX, float scaleY)
 {
     this.game     = abstractGame;
     this.scaleX   = scaleX;
     this.scaleY   = scaleY;
     this.isPaused = true;
 }
Exemplo n.º 2
0
 public GameInputs(AbstractGame abstractGame)
 {
     this.game            = abstractGame;
     game.app.MouseMove  += mouse_event;
     game.app.MouseClick += mouse_click_event;
     game.app.KeyDown    += key_down;
     //System.ev events = game.app.KeyDown();
 }
Exemplo n.º 3
0
 public GameScreen(AbstractGame abstractGame)
 {
     this.game = abstractGame;
     g         = game.graphics;
 }