Esempio n. 1
0
 public AbilityContainer(BasicEnemy enemy, Color _color, Ability _mod) : base(enemy, _color, _mod)
 {
 }
Esempio n. 2
0
 //Sets position to the place where enemy, from which it dropped, died
 private void SetPosition(BasicEnemy enemy)
 {
     position.X = enemy.position.X + (enemy.scale.X * enemy.texture.Width) / 2 - (defaultScale.X * texture.Width) / 2;
     position.Y = enemy.position.Y + (enemy.scale.Y * enemy.texture.Height) / 2 - (defaultScale.Y * texture.Height) / 2;
 }
Esempio n. 3
0
 public WeaponContainer(BasicEnemy enemy, Color _color, Weapon _mod) : base(enemy, _color, _mod)
 {
 }
Esempio n. 4
0
 public ModificationContainer(BasicEnemy enemy, Color color, Modification _mod) : base(GameProperties.DefaultTexture, defaultPosition, defaultScale, color)
 {
     SetPosition(enemy);
     mod = _mod;
 }