aiplayer.java

来自「Java mulitplayer strategy game. Adaptati」· Java 代码 · 共 34 行

JAVA
34
字号
package net.sf.jawp.api.ai;

import net.sf.jawp.api.service.JAWPGameService;

/**
 * Basic interface for all kinds of AI players
 * @author jarek
 * @version $Revision$
 *
 */
public interface AIPlayer
{
	/**
	 * notifies AIPlayer that it is connected to game service
	 * @param service
	 */
	void start( final JAWPGameService service);
	
	
	/**
	 * the game has stopped - it is time to write all data
	 *
	 */
	void stop();
	
	
	/**
	 * the game has made a small step - maybe we should react somehow
	 * @param service
	 */
	void step(  final JAWPGameService service);
	
}

⌨️ 快捷键说明

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