public Bullet FireRaw(Vector3 pos, float angle, float speed, SpriteImage image, Animation anim = null) { var vel = new Vector3(MathX.DCos(angle) * speed, MathX.DSin(angle) * speed, 0f); var tex = image.Texture; var sprite = new SpriteInstance(SpriteEffect, pos, vel, image.Size, tex, image.TextureRegion.Rectangle, anim); sprite.Rotation = MathX.DegToRad(angle - 90f); var bullet = new Bullet(this, sprite); return(bullet); }