Exemple #1
0
 public BattleSystem(Game game, Player player)
     : base(game)
 {
     HPBar = new StatBar();
     EnemyHP = new StatBar();
     this.player = player;
 }
Exemple #2
0
 public Enemy(string name, Texture2D picture, StatBar hp, Vector2 position, int exp)
 {
     this.name = name;
     this.battleGraphic = picture;
     this.HP = hp;
     this.position = position;
     this.expPoints = exp;
 }
Exemple #3
0
 public StaticGraphics(Game game, Player player)
     : base(game)
 {
     this.player = player;
     this.HPBar = new StatBar();
 }