public Entity(Texture2D texture, Vector2 position, float speed, int size, SimulationWorld world) : base(texture, position, size, new Rectangle(0, 0, 64, 64)) { this.speed = speed; this.world = world; this.weapon = new Pistol(world, this); }
public void SetWeapon(Weapon weapon) { this.weapon = weapon; }