Beispiel #1
0
 private void CloseCraftingTable()
 {
     mCraftingWindow?.Close();
     mCraftingWindow = null;
     Globals.InCraft = false;
     PacketSender.SendCloseCrafting();
 }
Beispiel #2
0
        public void OpenCraftingTable()
        {
            if (mCraftingWindow != null)
            {
                mCraftingWindow.Close();
            }

            mCraftingWindow          = new CraftingWindow(GameCanvas);
            mShouldOpenCraftingTable = false;
            Globals.InCraft          = true;
        }
Beispiel #3
0
 private void CloseCraftingTable()
 {
     mCraftingWindow?.Close();
     mCraftingWindow = null;
     Globals.InCraft = false;
 }