代码搜索结果
找到约 10,000 项符合
State Machine 的代码
state.c~
#include
#include
#include
#include
#include
#include
#include
#include
#include
#in
state.h
/* 声明网格中空格所有可能移动的方向,至于为什么要包括"NONE"将在后面的代码中显现出来;*/
enum DIRECTION { NONE, NORTH, EAST, SOUTH, WEST };
// 声明CState类
class CState {
private:
// 使用1 to 9号索引来对应网格的每个位置, 定义为 char类型是为了节省内存;
char
state.cs
using System;
namespace State
{
///
///empty base class containing State methods to override
///
public class State {
//keeps state of each button
protected
state.sln
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "State", "State.csproj", "{42C4F50F-C512-44F2-B19A-FB785B4CDCBC}"
EndProject
Global