Esempio n. 1
0
        public static GamePanel CreateNewInstance(GameForm parent, int mpx, int mpy, int viewdiag)
        {
            GamePanel ret = new GamePanel();
            ret.parent = parent;

            return ret;
        }
Esempio n. 2
0
 public static void RunNewGameForm(string username, ColorRunGame.UI.Form1 close)
 {
     Program.Username = username;
     GForm = new GameForm();
     close.Close();
 }