Example #1
0
 //chad
 public Enemy(int att, int def, int con, int health, string n, Texture2D eS)
 {
     enemyStats = new EnemyStatistics(att, def, con, health);
       Name = n;
       whichAi = 1;
       isDead = false;
       enemySprite = eS;
 }
Example #2
0
 //creates an enemy with 1 skill
 public Enemy(int att, int def, int con, int health, string n, Texture2D eS, Skill a)
 {
     enemyStats = new EnemyStatistics(att, def, con, health);
       Name = n;
       skillA = a;
       random = new Random();
       whichAi = 2;
       isDead = false;
       enemySprite = eS;
 }