public void OpenBank() { mBankWindow?.Close(); mBankWindow = new BankWindow(GameCanvas); mShouldOpenBank = false; Globals.InBank = true; }
public void OpenBank() { if (mBankWindow != null) { mBankWindow.Close(); } mBankWindow = new BankWindow(GameCanvas); mShouldOpenBank = false; Globals.InBank = true; }
private void CloseBank() { mBankWindow?.Close(); mBankWindow = null; Globals.InBank = false; }