Ejemplo n.º 1
0
 public GameEngine()
 {
     NeedsRedrawing = true;  //when loading a new map we trigger redrawing map
     MaxPlayers     = 1;
     ThePlayer      = new Player();
     MonsterMgr     = new MonsterManager();
     MessageBrd     = new MessageBoard();
     MessageBrd.Add("Welcome to Mud2D");
 }
Ejemplo n.º 2
0
 static GameEngine()
 {
     Dirty      = true; //when loading a new map we trigger redrawing map
     MaxPlayers = 1;
     ThePlayer  = new Player();
     MonsterMgr = new MonsterManager();
     ObjectMgr  = new ObjectManager();
     ScoreCard  = new ScoreCard();
     MessageBrd = new MessageBoard();
     MessageBrd.Add("Welcome to Mud2D");
 }