public Ship(Screens.GameplayScreen gameplayScreen, Vector3 respawnPoint) : base(gameplayScreen, 10f, 0d, 8d, respawnPoint) { //The follow code is to test the weapons _frontWeapon = new TestGun(gameplayScreen, this); _rightWeapon = new TestGun(gameplayScreen, this); }
public Ammo(GameScreen gameScreen, AttachedWeapon owner, float maxHealth, double spawnTime, double lifeTime) : base(gameScreen, maxHealth, 0d) { _owner = owner; _spawnTime = spawnTime; _lifeTime = lifeTime; }
public Ship(Screens.GameScreen gameScreen, Vector3 respawnPoint, Screens.GameplayScreen gpScreen, Player player) : base(gameScreen, 10f, 0d, 8d, respawnPoint) { // ship should know who owns it _owner = player; gameplayScreen = gpScreen; //The follow code is to test the weapons _frontWeapon = new TestGun(gameScreen, this); _rightWeapon = new RemoteMineLauncher(gameScreen, this); _leftWeapon = new TestGun(gameScreen, this); _backWeapon = new TestGun(gameScreen, this); }
public Bullet(Screens.GameScreen gameScreen, AttachedWeapon owner, double spawnTime, double lifeTime) : base(gameScreen, owner, 1f, spawnTime, lifeTime) { }