public Weapon(Game game, Point location) : base(game, location) { this.game = game; this.location = location; pickedUp = false; }
public Mangual(Game game, Point location) : base(game, location) { }
public Bat(Game game, Point location, Size spriteSize) : base(game, location, 6, spriteSize) { }
public Ghost(Game game, Point location, Size spriteSize) : base(game, location, 8, spriteSize) { }
public Player(Game game, Point location, Size spriteSize) : base(game, location) { hitPoints = 10; SpriteSize = spriteSize; }
private void Form1_Load(object sender, EventArgs e) { // Set offset of top-left corner of icon to center iconOffset.X = player.Width / 2; iconOffset.Y = player.Height / 2; // Initialize game object game = new Game(new Rectangle(78 + iconOffset.X, 57 + iconOffset.Y, 423, 161)); game.NewLevel(random); // Set characters in the game UpdateCharacters(); // Initialize controls RemoveAllInventorySelections(); SetMoveDirections(); SetAttackDirections(); SetLevelLabel(); grpbBoxPlayStyle.Visible = false; actionTimer.Interval = gameSpeed; }
public Sword(Game game, Point location) : base(game, location) { }
public RedPotion(Game game, Point location) : base(game, location) { }
public BluePotion(Game game, Point location) : base(game, location) { }
public Ghoul(Game game, Point location, Size spriteSize) : base(game, location, 10, spriteSize) { }
public Morte(Game game, Point location) : base(game, location, 10) { }
public Wizard(Game game, Point location) : base(game, location, hitPoints) { }
public Fantasma(Game game, Point location) : base(game, location, 8) { }
public Ghoul(Game game, Point location) : base(game, location, hitPoints) { }
public Arco(Game game, Point location) : base(game, location) { }
private void frmTheQuest_Load(object sender, EventArgs e) { game = new Game(new Rectangle(78, 57, 420, 155)); game.NewLevel(random); UpdateCharacters(); }
public Mace(Game game, Point location) : base(game, location) { }
public BattleAxe(Game game, Point location) : base(game, location) { }
public Ghost(Game game, Point location) : base(game, location, 8) { }
public Player(Game game, Point location) : base(game, location) { hitPoints = 10; }
public Shield(Game game, Point location) : base(game, location) { }
public BluePotion(Game game, Point location) : base(game, location) { Used = false; }
public Bat(Game game, Point location) : base(game, location, 6) { }
public Bat(Game game, Point location) : base(game, location, hitPoints) { }
public Enemy(Game game, Point location, int hitPoints, Size spriteSize) : base(game, location) { this.hitPoints = hitPoints; SpriteSize = spriteSize; }
public Quiver(Game game, Point location) : base(game, location) { }
public Weapon(Game game, Point location) : base(game, location) { PickedUp = false; }
public Espada(Game game, Point location) : base(game, location) { }
public Enemy(Game game, Point location, int hitPoints) : base(game, location) { HitPoints = hitPoints; }
public Mover(Game game, Point location) { this.game = game; this.location = location; }