Package org.kikikan.deadbymoonlight.game
Class WorldObject
- java.lang.Object
-
- org.kikikan.deadbymoonlight.game.WorldObject
-
-
Constructor Summary
Constructors Constructor Description WorldObject(Game game, java.lang.String worldName, org.kikikan.deadbymoonlight.util.Point point)
WorldObject(Game game, org.bukkit.Location location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
protected Game
getGame()
org.bukkit.Location
getLocation()
Gets the location of the WorldObject.int
hashCode()
-
-
-
Method Detail
-
getLocation
public final org.bukkit.Location getLocation()
Gets the location of the WorldObject.- Returns:
- The location of the WorldObject.
-
getGame
protected final Game getGame()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-