代码搜索结果
找到约 10,000 项符合
State Machine 的代码
state.h
#ifndef _FINITESTATE_H_
#define _FINITESTATE_H_
#include
#include
#include "AITypes.h"
#include "NPC.h"
using namespace std;
enum ENUM_STATD_ID
{
STATE_ID_UNKNOWN = 0
state.h
// State.h: interface for the CState class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_STATE_H__13BD27F8_64A3_4712_A0B6_60A5DF4A3883__INCLUDED_)
#
state.v
module state(clk4,rst,st,sp,con,crst,hold);
input clk4,rst,st,sp;
output con,crst,hold;
reg con,crst,hold;
reg[2:0] sel;
parameter reset=3'd0,count=3'd1,lap=3'd2,stop1=3'd3,stop2=3'd4;
alway
state.java
import java.awt.*;
public class State
{
public void mouseDown(int x, int y){}
public void mouseUp(int x, int y){}
public void mouseDrag(int x, int y){}
public void select(Drawing d, Color c){}
state.h
#ifndef STATE_H
#define STATE_H
//------------------------------------------------------------------------
//
// Name: State.h
//
// Desc: abstract base class to define an interface for a
state.h
#ifndef STATE_H
#define STATE_H
//------------------------------------------------------------------------
//
// Name: State.h
//
// Desc: abstract base class to define an interface for a
state.jad
MIDlet-1: State, , ch04.State