Beispiel #1
0
 public GameModel(Tablesize tablesize)
 {
     this.tablesize = tablesize;
     this.spaceship = new Spaceship(new Koordinate(this.tablesize.first / 2, this.tablesize.second - 1));
     this.asteroids = new List <Asteroid>();
     this.numberOfAsteroidsToCreate = 1;
 }
Beispiel #2
0
 public GameModel(Tablesize tablesize)
 {
     this.tablesize = tablesize;
     NewGame();
 }