public class GearNameState extends CartoucheState
logger| Constructor and Description |
|---|
GearNameState()
Instantiate a disabled AppState.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setVehicle(Vehicle newVehicle)
Alter which Vehicle is associated with this indicator.
|
protected void |
updateNode()
Compare the enaged gear name to the displayed text and repopulate the
Node if they differ.
|
cleanup, displayText, getNode, initialize, load, onDisable, onEnable, repopulateNode, updatepublic void setVehicle(Vehicle newVehicle)
newVehicle - the Vehicle to associate (not null)protected void updateNode()
updateNode in class CartoucheState