|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Descriptions
public class Descriptions
Field Summary | |
---|---|
private static java.lang.String[] |
depotNames
Depot names |
private static java.lang.String[] |
getEvent
Random health events |
private static int[] |
healthChanges
Health costs for various random health events (must be the same size as getEvent) |
(package private) static int |
lastPartyMember
|
private static java.lang.String[] |
partyMemberNames
Possible Party member names |
private static java.lang.String[] |
terrainAdjectives
Adjectives to describe the terrain |
Constructor Summary | |
---|---|
Descriptions()
|
Method Summary | |
---|---|
static java.lang.String |
generateRandomDepotName()
Returns a random Depot name |
static java.lang.String |
generateRandomHealthEvent()
Returns a random health event description |
static java.lang.String |
generateRandomTerrainAdjective()
Returns a random terrain adjective |
static int |
getCorrespondingHealthChange(java.lang.String event)
Returns the health penalty for the passed health event |
static java.lang.String |
getLeaderName()
Returns the name of the Party leader |
static java.lang.String |
getMapTitle()
Returns the title of the map |
static java.lang.String |
getPartyMemberName()
Returns the name of the next party member |
static java.lang.String |
getPropulsionName()
Returns the name of the propulsion type (oxen, rockets, etc.) |
static java.lang.String |
getTerrainTypeName(int terrainType)
Returns the name of the terrain type (grassland, mountain, forest, or similar) |
static java.lang.String |
getVehicleName()
Returns the name for a vehicle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.lang.String[] depotNames
private static java.lang.String[] getEvent
private static int[] healthChanges
private static java.lang.String[] terrainAdjectives
private static java.lang.String[] partyMemberNames
static int lastPartyMember
Constructor Detail |
---|
public Descriptions()
Method Detail |
---|
public static java.lang.String getLeaderName()
public static java.lang.String getVehicleName()
public static java.lang.String getMapTitle()
public static java.lang.String getPropulsionName()
public static java.lang.String generateRandomTerrainAdjective()
public static java.lang.String generateRandomDepotName()
public static java.lang.String generateRandomHealthEvent()
public static java.lang.String getPartyMemberName()
public static int getCorrespondingHealthChange(java.lang.String event)
event
- The string description of the health event
public static java.lang.String getTerrainTypeName(int terrainType)
terrainType
- The terrain type as specified by Game.TERRAIN_UNSET
, Game.TERRAIN_GRASSLAND
, Game.TERRAIN_MOUNTAIN
, Game.TERRAIN_FOREST
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |