//constructor public GameMain() { LocalPlayer=new Player(this); }
public Projectile(Player player, Direction direction, GameMain parent) : base(new Rectangle(player.Hitbox.X + 10, player.Hitbox.Y + 17, ressources.projectile.Bounds.Width, ressources.projectile.Bounds.Height), parent) { this.direction = direction; }