📄 exitpoint.java
字号:
package mazeImplementation;// -----------------------------------------------// Programming 2 -- Semester 2, 2007// Maze Engine implementation// Peter Tilmanis, 21 August 2007// -----------------------------------------------// Exit point class// -----------------------------------------------public class ExitPoint{ private String name; private MazeRef destination; public ExitPoint(String name, MazeRef destination) { this.name = name; this.destination = destination; } public String getName() { return name; } public MazeRef getDestination() { return destination; } public boolean equals(ExitPoint in) { if ( (this.name.equals(in.name)) && (this.destination.equals(in.destination))) return true; else return false; } public String toString() { return name + ":" + destination; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -