public static void Main(string[] args) { m_curGame=game.Load(); C.Out("starting..."); Setup(); C.Out("After setup"); m_curGame.Activate(); Events.Run(); }
public static void Main(string[] args) { m_curGame = game.Load(); C.Out("starting..."); Setup(); C.Out("After setup"); m_curGame.Activate(); Events.Run(); }
public static void SetGame(game gam) { m_game = gam; m_room = null; if (gam != null) { m_rooms = gam.rooms; } else { m_rooms = null; } }
public static game Load() { game rv=new game(); room rm; menu mnu; rv.startRoom="home"; rm=new room(); rm.name="home"; rm.m_loaded=true; rv.rooms.Add(rm.name, rm); return rv; }
public static game Load() { game rv = new game(); room rm; menu mnu; rv.startRoom = "home"; rm = new room(); rm.name = "home"; rm.m_loaded = true; rv.rooms.Add(rm.name, rm); return(rv); }
public static void SetGame(game gam) { m_game=gam; m_room=null; if(gam!=null) m_rooms=gam.rooms; else m_rooms=null; }