Class Descriptions

java.lang.Object
  extended by Descriptions

public class Descriptions
extends java.lang.Object


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

depotNames

private static java.lang.String[] depotNames
Depot names


getEvent

private static java.lang.String[] getEvent
Random health events


healthChanges

private static int[] healthChanges
Health costs for various random health events (must be the same size as getEvent)


terrainAdjectives

private static java.lang.String[] terrainAdjectives
Adjectives to describe the terrain


partyMemberNames

private static java.lang.String[] partyMemberNames
Possible Party member names


lastPartyMember

static int lastPartyMember
Constructor Detail

Descriptions

public Descriptions()
Method Detail

getLeaderName

public static java.lang.String getLeaderName()
Returns the name of the Party leader

Returns:
The name of the leader

getVehicleName

public static java.lang.String getVehicleName()
Returns the name for a vehicle

Returns:
Returns the name for a vehicle

getMapTitle

public static java.lang.String getMapTitle()
Returns the title of the map

Returns:
Returns the title of the map

getPropulsionName

public static java.lang.String getPropulsionName()
Returns the name of the propulsion type (oxen, rockets, etc.)

Returns:
Returns the name of the propulsion type (oxen, rockets, etc.)

generateRandomTerrainAdjective

public static java.lang.String generateRandomTerrainAdjective()
Returns a random terrain adjective

Returns:
Returns a random terrain adjective

generateRandomDepotName

public static java.lang.String generateRandomDepotName()
Returns a random Depot name

Returns:
Returns a random Depot name

generateRandomHealthEvent

public static java.lang.String generateRandomHealthEvent()
Returns a random health event description

Returns:
Returns a random health event description

getPartyMemberName

public static java.lang.String getPartyMemberName()
Returns the name of the next party member

Returns:
Returns the name of the next party member

getCorrespondingHealthChange

public static int getCorrespondingHealthChange(java.lang.String event)
Returns the health penalty for the passed health event

Parameters:
event - The string description of the health event
Returns:
Returns the health penalty for the passed health event

getTerrainTypeName

public static java.lang.String getTerrainTypeName(int terrainType)
Returns the name of the terrain type (grassland, mountain, forest, or similar)

Parameters:
terrainType - The terrain type as specified by Game.TERRAIN_UNSET, Game.TERRAIN_GRASSLAND, Game.TERRAIN_MOUNTAIN, Game.TERRAIN_FOREST
Returns:
Returns the name of the terrain type (grassland, mountain, forest, or similar)