Exemplo n.º 1
0
 public Game()
 {
     GameMode    = UsualGameMode;
     Creator     = new MapCreator(this);
     Player      = Creator.GetPlayer();
     Width       = MapCreator.GameWidth;
     Height      = MapCreator.GameHeight;
     GameObjects = Creator.CreateRandomMap();
     Score       = 0;
     IsOver      = false;
 }
Exemplo n.º 2
0
 public Game(List <IGameObject> map)
 {
     GameMode    = UsualGameMode;
     Creator     = new MapCreator(this);
     Player      = Creator.GetPlayer();
     Width       = MapCreator.GameWidth;
     Height      = MapCreator.GameHeight;
     GameObjects = map;
     Score       = 0;
     IsOver      = false;
     GameMode    = UsualGameMode;
 }