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); }
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; }
public Art(Core core) { this.core = core; }
public Level(Core core) { this.core = core; }