Package io.github.emcw.map.entities
Class Nation
- All Implemented Interfaces:
ISerializable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionHelper method to reduce mapping overresidents
for names.Methods inherited from class io.github.emcw.map.entities.BaseEntity
setInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.emcw.interfaces.ISerializable
asString
-
Constructor Details
-
Nation
Creates a new Nation by parsing raw data.
Should NOT be called explicitly unless you know what you are doing!- Parameters:
obj
- The unparsed data required to build this object.map
- The map this nation currently resides in.
-
-
Method Details
-
getCapital
-
invitableTowns
-
residentList
Helper method to reduce mapping overresidents
for names.- Returns:
- The names of residents in this nation.
- See Also:
-
#getResidents()
-