Exemplo n.º 1
0
 public GamePlay(int min_width, int max_width, int min_height, int max_height, int num_enemies)
 {
     InitializeComponent();
     ge     = new GameEngine(min_width, max_width, min_height, max_height, num_enemies);
     width  = ge.getWidth();
     height = ge.getHeight();
     redraw();
 }
Exemplo n.º 2
0
 public GamePlay()
 {
     InitializeComponent();
     ge     = new GameEngine();
     width  = ge.getWidth();
     height = ge.getHeight();
     redraw();
 }