public Projectile(Skill skill) { User = skill.User; ProjectileSprite = new Sprite("Graphics/SkillAnimations/projectile4"); Speed = 5; DamagePercent = 1; _sSprite = User.BattlerSprite.SpecterSprite; ProjectileSprite.SetPosition(_sSprite.X + _sSprite.Width / 2, _sSprite.Y - _sSprite.Height / 2); }
public Skill(Battler user, int skillID) { User = user; SkillID = skillID; UseSkill4(); }
//Trainer Battle public Battle(Trainer opponent) { Opponent = opponent; ActiveBattlers[0] = new Battler(this, GameUtils.Player.Party[0], 0); ActiveBattlers[1] = new Battler(this, opponent.Party[0], 1); }