Exemplo n.º 1
0
 public BattlerSprite(Specter specter)
 {
     Specter            = specter;
     SpecterSprite      = new SpecterSprite(Specter);
     BattlerGaugeSprite = new GaugeSprite(Specter);
     ShadowSprite.SetOrigin(Sprite.SpriteOrigin.Center);
 }
Exemplo n.º 2
0
 //Larvuzz Basic Attack
 public void UseSkill4()
 {
     //Projectile = new Sprite("Graphics/SkillAnimations/projectile4");
     _sSprite = User.BattlerSprite.SpecterSprite;
     //Projectile.SetPosition(_sSprite.X + _sSprite.Width/2, _sSprite.Y - _sSprite.Height/2);
     User.BattlerSprite.ChangeState(CCSpecterState.State.AttackFar);
     _sSprite.TimeToUpdate = CastTime / _sSprite.FramesCount;
     _sSprite.PlayAndStop();
 }
Exemplo n.º 3
0
 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);
 }