public Ship(GameObjType _type, Sprite_Proxy _spriteRef) { type = _type; spriteRef = _spriteRef; waveBank = WaveBankManager.WaveBank(); soundBank = SoundBankManager.SoundBank(); }
public Wall(GameObjType _type, Sprite_Proxy _spriteRef) { type = _type; spriteRef = _spriteRef; anim = new Animation(spriteRef.sprite); setUpAnimation(); soundBank = SoundBankManager.SoundBank(); waveBank = WaveBankManager.WaveBank(); }
public Missile(GameObjType _type, Sprite_Proxy _spriteRef, PlayerID _owner) { type = _type; spriteRef = _spriteRef; objSpeed = new Vector2(0, -15); soundBank = SoundBankManager.SoundBank(); waveBank = WaveBankManager.WaveBank(); owner = _owner; playFireSound(); }
public Bomb(GameObjType _type, PlayerID _owner, Ship s) { type = _type; createBomb(_owner, s); owner = _owner; soundBank = SoundBankManager.SoundBank(); waveBank = WaveBankManager.WaveBank(); playBombLaySound(); armBomb(); }