static void Main(string[] args) { //遊戲啟動 NonogramMgr.Instance().startGame(null); //關閉遊戲 NonogramMgr.Instance().closeGame(); }
public static NonogramMgr Instance() { if (m_GameMgr == null) { m_GameMgr = new NonogramMgr(); init(); } return(m_GameMgr); }
public bool closeGame() { m_GameMgr = null; return(true); }