Boilerplate code for Vault Door

This commit is contained in:
simon
2018-01-05 20:42:24 -05:00
parent ce0584a49f
commit 9bb0dc9034
10 changed files with 179 additions and 1 deletions

View File

@@ -18,5 +18,6 @@
<orderEntry type="library" name="Maven: com.googlecode.json-simple:json-simple:1.1.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-text:1.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.7" level="project" />
<orderEntry type="library" name="Maven: org.mongodb:mongo-java-driver:2.10.1" level="project" />
</component>
</module>
</module>

View 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);
}