Interface SpawnPosition
- All Known Implementing Classes:
Government
,Nation
,Town
public interface SpawnPosition
-
Method Summary
Modifier and TypeMethodDescription@Nullable Position
Gets the spawn location of this object.void
spawnPosition
(@Nullable Position position) Sets the spawn position of this object.
-
Method Details
-
spawnPosition
Sets the spawn position of this object.- Parameters:
position
- The position of the new spawn.
-
spawnPosition
Gets the spawn location of this object.- Returns:
- The spawn location or
null
if none has been set.
-