Exemple #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);
 }
Exemple #2
0
 public void SetScreenManager(ScreenManager sm)
 {
     manager = sm;
 }