public ShooterGunObject(float xPosition, float yPosition, int maxProjectiles, float xAim, float yAim, float power, ShooterProjectileObjectNew projectile) { _xPosition = xPosition; _yAim = yAim; _xAim = xAim; _power = power; _maxProjectiles = maxProjectiles; _yPosition = yPosition; _projectile = projectile; }
public ShooterGunBasic(float xPosition, float yPosition, float xAim, float yAim, ShooterProjectileObjectNew projectile) : base(xPosition, yPosition, 1, xAim, yAim, 7, projectile) { Load(projectile); }
public void Load(ShooterProjectileObjectNew p) { _projectile = p; }