mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 22:59:02 +00:00
Boilerplate code for Vault Door
This commit is contained in:
13
Server/src/main/java/net/simon987/server/game/Enterable.java
Normal file
13
Server/src/main/java/net/simon987/server/game/Enterable.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package net.simon987.server.game;
|
||||
|
||||
public interface Enterable {
|
||||
|
||||
/**
|
||||
* Called when an object attempts to walk directly into a Enterable object
|
||||
*
|
||||
* @param object The game object that attempted to enter
|
||||
* @return true if successful,
|
||||
*/
|
||||
boolean enter(GameObject object);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user