Example #1
0
        protected override void LoadContent()
        {
            // Create a new SpriteBatch, which can be used to draw textures.
              spriteBatch = new SpriteBatch(GraphicsDevice);

              core = new Core(GraphicsDevice, spriteBatch);
              core.LoadContent(Content);
        }
Example #2
0
        public Player(Core core)
        {
            this.core = core;

              position = core.level.LevelToWorld(new Vector3(core.level.playerSpawnX, core.level.playerSpawnY, .5f));

              projectionMatrix = Matrix.CreatePerspectiveFieldOfView(MathHelper.PiOver4, core.device.Viewport.AspectRatio, .1f, 100f);
              viewMatrix = Matrix.Identity;

              rotation = Matrix.Identity;
        }
Example #3
0
File: Art.cs Project: iodiot/Maze
 public Art(Core core)
 {
     this.core = core;
 }
Example #4
0
File: Level.cs Project: iodiot/Maze
 public Level(Core core)
 {
     this.core = core;
 }