Package zombie.gameStates
Class MainScreenState
java.lang.Object
zombie.gameStates.GameState
zombie.gameStates.MainScreenState
public class MainScreenState extends GameState
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MainScreenState.Credit
static class
MainScreenState.ScreenElement
-
Field Summary
Fields Modifier and Type Field Description float
alpha
float
alphaStep
static Audio
ambient
int
creditID
java.util.ArrayList
Elements
static MainScreenState
instance
float
lightningCount
float
lightningDelta
float
lightningFullTimer
float
lightningTargetDelta
float
lightOffCount
static Audio
musicTrack
boolean
showLogo
float
targetAlpha
static float
totalScale
static java.lang.String
Version
-
Constructor Summary
Constructors Constructor Description MainScreenState()
-
Method Summary
Modifier and Type Method Description static java.nio.ByteBuffer
convertToByteBuffer(java.awt.image.BufferedImage bufferedImage)
static void
DrawTexture(Texture texture, int int1, int int2, int int3, int int4, float float1)
static void
DrawTexture(Texture texture, int int1, int int2, int int3, int int4, Color color)
void
enter()
void
exit()
static MainScreenState
getInstance()
static java.nio.ByteBuffer[]
loadIcons()
static void
main(java.lang.String[] stringArray)
GameState
redirectState()
void
render()
void
setConnectToServerState(ConnectToServerState connectToServerState)
boolean
ShouldShowLogo()
GameStateMachine.StateAction
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Version
public static java.lang.String Version -
ambient
-
musicTrack
-
totalScale
public static float totalScale -
alpha
public float alpha -
alphaStep
public float alphaStep -
creditID
public int creditID -
Elements
public java.util.ArrayList Elements -
targetAlpha
public float targetAlpha -
instance
-
showLogo
public boolean showLogo -
lightningDelta
public float lightningDelta -
lightningTargetDelta
public float lightningTargetDelta -
lightningFullTimer
public float lightningFullTimer -
lightningCount
public float lightningCount -
lightOffCount
public float lightOffCount
-
-
Constructor Details
-
MainScreenState
public MainScreenState()
-
-
Method Details
-
main
public static void main(java.lang.String[] stringArray) -
DrawTexture
public static void DrawTexture(Texture texture, int int1, int int2, int int3, int int4, float float1) -
DrawTexture
-
enter
public void enter() -
getInstance
-
ShouldShowLogo
public boolean ShouldShowLogo() -
exit
public void exit() -
render
public void render() -
update
-
setConnectToServerState
-
redirectState
- Overrides:
redirectState
in classGameState
-
loadIcons
public static java.nio.ByteBuffer[] loadIcons() -
convertToByteBuffer
public static java.nio.ByteBuffer convertToByteBuffer(java.awt.image.BufferedImage bufferedImage)
-