Exemplo n.º 1
0
        public void OpenBag()
        {
            mBagWindow?.Close();

            mBagWindow     = new BagWindow(GameCanvas);
            mShouldOpenBag = false;
            Globals.InBag  = true;
        }
Exemplo n.º 2
0
        public void OpenBag()
        {
            if (mBagWindow != null)
            {
                mBagWindow.Close();
            }

            mBagWindow     = new BagWindow(GameCanvas);
            mShouldOpenBag = false;
            Globals.InBag  = true;
        }
Exemplo n.º 3
0
 private void CloseBagWindow()
 {
     mBagWindow?.Close();
     mBagWindow    = null;
     Globals.InBag = false;
 }