Exemple #1
0
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     graphics.IsFullScreen = false;
     gameModel = new GameModel();
 }
Exemple #2
0
 public GameView(GameModel model, ContentManager content, GraphicsDevice device)
 {
     this.model = model;
     this.content = content;
     this.device = device;
     lolTexture = content.Load<Texture2D>("haaaaaaas.png");
     spriteBatch = new SpriteBatch(device);
 }