public class LocationHealth extends Health<LocationHealth.Category>
Modifier and Type | Class and Description |
---|---|
static class |
LocationHealth.Category
The components that make up a location's health.
|
Constructor and Description |
---|
LocationHealth() |
Modifier and Type | Method and Description |
---|---|
protected Class<LocationHealth.Category> |
getCategoryEnumClass()
Subclasses must return the class of category enumeration that they
parameterized themselves with.
|
static LocationHealth |
valueOf(String blueprint)
Rehydrate an encoding of a LocationHealth instance.
|
compareTo, equals, getAggregateState, getState, getTimestamp, hashCode, setState, toDebugString, toEncodedString, toString
protected Class<LocationHealth.Category> getCategoryEnumClass()
Health
getCategoryEnumClass
in class Health<LocationHealth.Category>
public static LocationHealth valueOf(String blueprint)
blueprint
- the blueprintCopyright © 2015. All Rights Reserved.