public Gun(Vector2 position, GunType type, WorldObject parent) { this.position = position; this.type = type; this.parent = parent; }
public void AddGun(GunType type, Vector2 position) { Guns.Add(new Gun(position, type, this)); }