public ProjectileBase(float x, float y, Bar powerbar, AnimatedSprite hero, AnimatedSprite plane) { time = 0; this.powerbar = powerbar; position = new Vector2(x, y); this.hero = hero; this.plane = plane; hero.increment = false; hero.animate(7, 7); }