public Enemy(ContentManager content, Level level, string name) { this.content = content; this.level = level; this.name = name; lifePoints = 10; }
public Game1() { graphics = new GraphicsDeviceManager(this); this.content = Content; level = new Level(Content); graphics.PreferredBackBufferWidth = Level.windowWidth; graphics.PreferredBackBufferHeight = Level.windowHeight; Content.RootDirectory = "Content"; this.IsMouseVisible = true; }
public Hero(ContentManager content, Level level, string name) { this.content = content; this.level = level; this.name = name; }