⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 buildable.java

📁 简单的一个maze系统
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -