Interface SpawnPosition
- All Known Implementing Classes:
Government,Nation,Town
public interface SpawnPosition
-
Method Summary
Modifier and TypeMethodDescription@Nullable PositionGets the spawn location of this object.voidspawnPosition(@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
nullif none has been set.
-