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 classMainScreenState.Creditstatic classMainScreenState.ScreenElement -
Field Summary
Fields Modifier and Type Field Description floatalphafloatalphaStepstatic AudioambientintcreditIDjava.util.ArrayListElementsstatic MainScreenStateinstancefloatlightningCountfloatlightningDeltafloatlightningFullTimerfloatlightningTargetDeltafloatlightOffCountstatic AudiomusicTrackbooleanshowLogofloattargetAlphastatic floattotalScalestatic java.lang.StringVersion -
Constructor Summary
Constructors Constructor Description MainScreenState() -
Method Summary
Modifier and Type Method Description static java.nio.ByteBufferconvertToByteBuffer(java.awt.image.BufferedImage bufferedImage)static voidDrawTexture(Texture texture, int int1, int int2, int int3, int int4, float float1)static voidDrawTexture(Texture texture, int int1, int int2, int int3, int int4, Color color)voidenter()voidexit()static MainScreenStategetInstance()static java.nio.ByteBuffer[]loadIcons()static voidmain(java.lang.String[] stringArray)GameStateredirectState()voidrender()voidsetConnectToServerState(ConnectToServerState connectToServerState)booleanShouldShowLogo()GameStateMachine.StateActionupdate()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:
redirectStatein classGameState
-
loadIcons
public static java.nio.ByteBuffer[] loadIcons() -
convertToByteBuffer
public static java.nio.ByteBuffer convertToByteBuffer(java.awt.image.BufferedImage bufferedImage)
-