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