|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.starhope.appius.game.VehicleStyle
public class VehicleStyle
What style(s) of vehicles are permitted in a room, and where. Note that this relies upon vehicles being both equipped in the vehicle slot, and also providing a passive effects system that can be interrogated as to the nature of the vehicle.
| Field Summary | |
|---|---|
static VehicleStyle |
ANY
Any vehicles are allowed, anywhere, there are no limits; default for Tootsville™ and any room that does not express a preference. |
static VehicleStyle |
DRIVE_ON_DRIVE
All vehicles are only allowed, but only allowed in the $drive space in the room. |
private boolean |
limitToDriveSpace
Limit vehicles to the driveable space defined as $drive |
static VehicleStyle |
NO_VEHICLES
No vehicles are permitted, at all. |
private boolean |
permitFloating
Whether floating (in the sense of flying) vehicles are permitted |
private boolean |
permitMounts
Whether mounted vehicles (e.g. |
private boolean |
permitWheeled
Whether wheeled or dragged (e.g. |
| Constructor Summary | |
|---|---|
VehicleStyle(boolean allowWheeled,
boolean allowMounted,
boolean allowFloating,
boolean driveOnDrive)
WRITEME: Document this constructor brpocock@star-hope.org |
|
| Method Summary | |
|---|---|
boolean |
isLimitToDriveSpace()
|
boolean |
isPermitFloating()
|
boolean |
isPermitMounts()
|
boolean |
isPermitWheeled()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final boolean permitWheeled
private final boolean permitMounts
private final boolean permitFloating
private final boolean limitToDriveSpace
public static final VehicleStyle ANY
public static final VehicleStyle DRIVE_ON_DRIVE
public static final VehicleStyle NO_VEHICLES
| Constructor Detail |
|---|
public VehicleStyle(boolean allowWheeled,
boolean allowMounted,
boolean allowFloating,
boolean driveOnDrive)
allowWheeled - allow wheeled, dragged, and similar objectsallowMounted - allow mounts such as horses, dogs, dragons, whateverallowFloating - allow floating vehiclesdriveOnDrive - limit vehicles to only the driveway| Method Detail |
|---|
public boolean isLimitToDriveSpace()
public boolean isPermitFloating()
public boolean isPermitMounts()
public boolean isPermitWheeled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||