public JusticeFireBall(Vector2 pos, Texture2D texture, Vector2 v) { this.position = pos; this.mySprite = new BossPrincessJusticeFireBallSprite(texture); myTexture = texture; this.rectangle = new Rectangle((int)pos.X, (int)pos.Y, mySprite.Height(), mySprite.Height()); this.acc = new Vector2(0.0f, 0.0f); this.velocity = v; Sound.Instance.FireBall(); }
public MarioFireBall(Vector2 pos, Texture2D fireballTexture, int direction) { this.position = pos; this.mySprite = new MarioFireBallSprite(fireballTexture); myTexture = fireballTexture; this.rectangle = new Rectangle((int)pos.X, (int)pos.Y, mySprite.Height(), mySprite.Height()); this.acc = new Vector2(0.0f, 0.0f); this.velocity = new Vector2(direction * 7.0f, 7.0f); Sound.Instance.FireBall(); }
public Dragon(Vector2 pos, Texture2D texture) { this.position = pos; this.mySprite = new DragonSprite(texture); myTexture = texture; this.rectangle = new Rectangle((int)pos.X, (int)pos.Y, mySprite.Height() / 2, mySprite.Height() / 2); this.velocity = new Vector2(5.0f, 0.0f); Sound.Instance.Dragon(); Sound.Instance.Dragon(); Sound.Instance.Dragon(); Sound.Instance.Dragon(); Sound.Instance.Dragon(); }