Exemplo n.º 1
0
        public Ship(GameObjType _type, Sprite_Proxy _spriteRef)
        {
            type      = _type;
            spriteRef = _spriteRef;


            waveBank  = WaveBankManager.WaveBank();
            soundBank = SoundBankManager.SoundBank();
        }
Exemplo n.º 2
0
        public Wall(GameObjType _type, Sprite_Proxy _spriteRef)
        {
            type      = _type;
            spriteRef = _spriteRef;

            anim = new Animation(spriteRef.sprite);

            setUpAnimation();

            soundBank = SoundBankManager.SoundBank();
            waveBank  = WaveBankManager.WaveBank();
        }
Exemplo n.º 3
0
        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();
        }