嵌入式程序
源代码在线查看: 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
}
}