示例#1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (game == null)
            {
                game = new StudioBehavior(true);
                game.Init();

                SimulatorTimer.ReadCheckpointListXml(PageBase.PagePlayer);

                // Game newGame = new Game("10", "Test");
                // newGame.StartDevelop(2, 8);

                // SimulatorTimer.SaveCheckpointListXml();
            }
            Label1.Text = SimulatorTimer.GameTimeNow.ToString();

            // if(!IsPostBack)Show();
        }