public class GameState
extends java.lang.Object
Constructor and Description |
---|
GameState(int background,
android.graphics.Bitmap backgroundImage,
android.graphics.Bitmap enemyImage,
android.graphics.Bitmap attackImage,
android.graphics.Bitmap specialAttackImage,
java.lang.String[] specialAttackInfo,
WeatherStatus status)
initialises a new game state
|
Modifier and Type | Method and Description |
---|---|
android.graphics.Bitmap |
getAttackImage() |
int |
getBackground() |
android.graphics.Bitmap |
getBackgroundImage() |
android.graphics.Bitmap |
getEnemyImage() |
android.graphics.Bitmap |
getSpecialAttackImage() |
java.lang.String[] |
getSpecialAttackInfo() |
WeatherStatus |
getStatus() |
public GameState(int background, android.graphics.Bitmap backgroundImage, android.graphics.Bitmap enemyImage, android.graphics.Bitmap attackImage, android.graphics.Bitmap specialAttackImage, java.lang.String[] specialAttackInfo, WeatherStatus status)
background
- the games background color for this weather statebackgroundImage
- the games background image for this weather stateenemyImage
- the enemy Image for this weatherattackImage
- the attack Image for this weatherspecialAttackImage
- the Image for special attacks in this weather, also used for drop downsspecialAttackInfo
- the info text for the special attacks/drop downsstatus
- the weather status of the gamepublic int getBackground()
public android.graphics.Bitmap getBackgroundImage()
public android.graphics.Bitmap getEnemyImage()
public android.graphics.Bitmap getAttackImage()
public android.graphics.Bitmap getSpecialAttackImage()
public java.lang.String[] getSpecialAttackInfo()
public WeatherStatus getStatus()