Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public ShooterGunBasic(float xPosition, float yPosition, float xAim, float yAim, ShooterProjectileObjectNew projectile)
     : base(xPosition, yPosition, 1, xAim, yAim, 7, projectile)
 {
     Load(projectile);
 }
Esempio n. 3
0
 public void Load(ShooterProjectileObjectNew p)
 {
     _projectile = p;
 }