Пример #1
0
 public Weapon(Game game, Point location)
     : base(game, location)
 {
     this.game = game;
     this.location = location;
     pickedUp = false;
 }
Пример #2
0
 public Bow(Game game, Point location)
     : base(game, location)
 {
 }
Пример #3
0
 private void Form1_Load(object sender, EventArgs e)
 {
     game = new Game(new Rectangle(78, 57, 420, 155));
     game.NewLevel(random);
     UpdateCharacters();
 }
Пример #4
0
 public Ghost(Game game, Point location)
     : base(game, location, 8)
 { }
Пример #5
0
 public Mover(Game game, Point location)
 {
     this.game = game;
     this.location = location;
 }
Пример #6
0
 public Weapon(Game game, Point location)
     : base(game, location)
 {
     pickedUp = false;
 }
Пример #7
0
 public RedPotion(Game game, Point location)
     : base(game, location)
 {
     Used = false;
 }
Пример #8
0
 public Ghoul(Game game, Point location)
     : base(game, location, 10)
 {
 }
Пример #9
0
 public Sword(Game game, Point location)
 : base(game, location) { }
Пример #10
0
 public Enemy(Game game, Point location, int hitPoints)
     : base(game, location) { this.hitPoints = hitPoints; }
Пример #11
0
 public Player(Game game, Point location)
     : base(game, location)
 {
     HitPoints = 10;
 }
Пример #12
0
 public Mace(Game game, Point location)
     : base(game, location)
 {
 }
Пример #13
0
 public BluePotion(Game game, Point location)
     : base(game, location)
 {
 }
Пример #14
0
 public RedPotion(Game game, Point location)
     : base(game, location)
 {
 }
Пример #15
0
 public Bat(Game game, Point location)
     : base(game, location, 6)
 {
 }