Package zombie.gameStates
Class MainScreenState
java.lang.Object
zombie.gameStates.GameState
zombie.gameStates.MainScreenState
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatstatic Audiofinal ArrayListstatic MainScreenStatefloatfloatfloatfloatbooleanfloatbooleanfloatstatic floatstatic String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ByteBufferconvertToByteBuffer(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 MainScreenStatestatic org.lwjgl.glfw.GLFWImage.Bufferstatic voidvoidrender()voidvoidsetConnectToServerState(ConnectToServerState connectToServerState) booleanupdate()
-
Field Details
-
Version
-
ambient
-
totalScale
public static float totalScale -
alpha
public float alpha -
alphaStep
public float alphaStep -
Elements
-
targetAlpha
public float targetAlpha -
instance
-
showLogo
public boolean showLogo -
lightningTimelineMarker
public boolean lightningTimelineMarker -
m_worldMap
-
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
-
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() -
renderBackground
public void renderBackground() -
update
-
setConnectToServerState
-
redirectState
- Overrides:
redirectStatein classGameState
-
loadIcons
public static org.lwjgl.glfw.GLFWImage.Buffer loadIcons() -
convertToByteBuffer
-