本游戏是微软SMART PHONE平台下的手机游戏
源代码在线查看: gamestateover.cs
using System;
using System.Windows.Forms;
using System.Threading;
namespace DiamondPet.UserLayer
{
///
/// GameStateOver 的摘要说明。
///
public class GameStateOver : GameState
{
public GameStateOver()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
public GameStateOver(UserLayerStateManager u) : base(u)
{}
#region 主循环
public override void UserLayerRunning()
{
GameConstResource.NotQuit = false;
ThreadManager.gameThread = null;
this.userLayerStateManager.diamondPet.hs.SavetoFile();
Application.Exit();
}
#endregion
}
}