buildable.java

来自「简单的一个maze系统」· Java 代码 · 共 29 行

JAVA
29
字号
package mazeImplementation;// -----------------------------------------------// Programming 2 -- Semester 2, 2007// Maze Engine implementation// Peter Tilmanis, 23 August 2007// -----------------------------------------------// Buildable interface// -----------------------------------------------public interface Buildable{   public MazeRef getMazeSize();   public Room getRoom(MazeRef location);   public Room[] getAllRooms();   public boolean setStartPoint(MazeRef location);   public boolean setFinishPoint(MazeRef location);   public boolean createRoom(MazeRef location, String name);   // room removal functionality not defined, for simplicity   public boolean addItem(MazeRef location, String name, int health);   public boolean removeItem(MazeRef location, String name);   public boolean addExitPoint(MazeRef location, String name, MazeRef destination);   public boolean removeExitPoint(MazeRef location, String name);}

⌨️ 快捷键说明

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