Package mekhq.campaign.location
Class AcademyCampusLocation
java.lang.Object
mekhq.campaign.location.AcademyCampusLocation
Represents a specific academy campus as an
ILocation.
Each AcademyCampusLocation is a lightweight node in the location tree,
serving as a child of a FixedLocation at the same planetary system.
Personnel enrolled at the campus can be attached as children of this node.
-
Field Summary
Fields inherited from interface mekhq.campaign.location.ILocation
NO_JUMP_PATH, NO_LOCATION, NO_PLANET, NO_PLANETARY_SYSTEM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns and clears the person UUIDs read from XML, for use during post-load reconnection.static AcademyCampusLocationReturns the personnel roster owned by this place, ornullif this place does not own one.voidwriteToXML(PrintWriter pw, int indent) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mekhq.campaign.location.ILocation
canSetChild, canSetParent, fetchPartsAtLocation, fetchPersonnelAtLocation, fetchUnitsAtLocation, getCurrentLocation, getCurrentSystem, getJumpPath, getPercentageTransit, getPlace, getPlanet, getTransitTime, hasLocation, hasLocationNode, isAtJumpPoint, isInTransit, isJumpZenith, isOnPlanet, setChild, setJumpPath, setParentMethods inherited from interface mekhq.campaign.location.IPlace
getHangar, getPartInventory, getWarehouse, processArrivals
-
Constructor Details
-
AcademyCampusLocation
-
-
Method Details
-
getAcademySet
-
getAcademyName
-
getAcademy
-
getLocationNode
- Specified by:
getLocationNodein interfaceILocation
-
getPersonnel
Description copied from interface:IPlaceReturns the personnel roster owned by this place, ornullif this place does not own one.Overrides
ILocation.getPersonnel()to stop the upward tree traversal.- Specified by:
getPersonnelin interfaceILocation- Specified by:
getPersonnelin interfaceIPlace
-
writeToXML
-
drainPendingPersonIds
Returns and clears the person UUIDs read from XML, for use during post-load reconnection. -
generateInstanceFromXML
-