Exemple #1
0
        //---------------------------------------------------
        // Release
        //---------------------------------------------------
        override protected void Release()
        {
            base.Release();

            if (_bulletModel != null)
            {
                _bulletModel.Release();
                _bulletModel = null;
            }
        }
Exemple #2
0
        //---------------------------------------------------
        // Initialize
        //---------------------------------------------------
        override protected void Initialize()
        {
            base.Initialize();

            _bulletModel = new BulletModel();
        }