示例#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");
 }
示例#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");
 }