public override void Draw(GameTime gameTime) { Game1 g = (Game1)Game; g.spriteBatch.Draw(star, new Vector2(posx, posy), Color.White); }
public MovingStar(Game1 game, int _posx, int _posy) : base(game) { posx = _posx; posy = _posy; }