tile.java
来自「一个JAVA程序员的游戏」· Java 代码 · 共 37 行
JAVA
37 行
/*
* Tile.java
*
* Created on 7. Dezember 2006, 19:54
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package kanjitori.graphics.tile;
import bsh.Interpreter;
import com.jme.scene.Node;
import java.util.Map;
import kanjitori.graphics.Thing;
/**
* A tile is a sub-category of thing, which represents a "static" part
* of the game environment, like walls or floor quads. "Static" means,
* that there is no true interaction with pots or with the player, tiles
* are just meant to provide the game "board". Of course this does not mean
* that tiles cannot be animated. Tiles are arranged in a rectangular grids
* which are called here "layers".
* @author Pirx
*/
public interface Tile extends Thing {
public void setParams(Map<String, String> map);
public Map<String, String> getParams();
public String getName();
public void setName(String name);
public void init();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?