示例#1
0
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     graphics.PreferredDepthStencilFormat = DepthFormat.Depth24Stencil8;
     Content.RootDirectory = "Content";
     sm = new ScreenManager();
     go = new GameOptions();
     entities = new List<Entity>(110);
 }
示例#2
0
 public void SetScreenManager(ScreenManager sm)
 {
     manager = sm;
 }