state.java

来自「模拟状态转换机问题」· Java 代码 · 共 26 行

JAVA
26
字号
/*
 * State.java
 *
 * Created on 2007年4月12日, 下午1:39
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package state.impl;

import astar.*;

/**
 *
 * @author FengKeqiang
 * @description All state object's super class. It's define a operation of handle that will call back 
 * state manager's(context) operation.
 */
public interface State {
    /**
     * @description Every state object will change own's state.
     */
    public void handle(Context c);//call back.
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?