Exemplo n.º 1
0
 public override void Updata()
 {
     //BulletSprite.X += BulletSprite.SpeedX * (float)(Math.Sin(BulletSprite.Rotation));
     //BulletSprite.Y += BulletSprite.SpeedY * (float)(Math.Cos(BulletSprite.Rotation));
     BulletSprite.X += BulletSprite.SpeedX;
     BulletSprite.Y += BulletSprite.SpeedY;
     BulletSprite.Update();
 }
Exemplo n.º 2
0
 public override void Updata()
 {
     BulletSprite.X += BulletSprite.SpeedX;
     BulletSprite.Y += BulletSprite.SpeedY;
     BulletSprite.Update();
 }