Class MainScreenState.ScreenElement

java.lang.Object
zombie.gameStates.MainScreenState.ScreenElement
Enclosing class:
MainScreenState

public static class MainScreenState.ScreenElement
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    float alpha  
    float alphaStep  
    boolean jumpBack  
    float sx  
    float sy  
    float targetAlpha  
    Texture tex  
    int TicksTillTargetAlpha  
    float x  
    int xCount  
    float xVel  
    float xVelO  
    float y  
    float yVel  
    float yVelO  
  • Constructor Summary

    Constructors
    Constructor Description
    ScreenElement​(Texture texture, int int1, int int2, float float1, float float2, int int3)  
  • Method Summary

    Modifier and Type Method Description
    void render()  
    void setY​(float float1)  
    void update()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • alpha

      public float alpha
    • alphaStep

      public float alphaStep
    • jumpBack

      public boolean jumpBack
    • sx

      public float sx
    • sy

      public float sy
    • targetAlpha

      public float targetAlpha
    • tex

      public Texture tex
    • TicksTillTargetAlpha

      public int TicksTillTargetAlpha
    • x

      public float x
    • xCount

      public int xCount
    • xVel

      public float xVel
    • xVelO

      public float xVelO
    • y

      public float y
    • yVel

      public float yVel
    • yVelO

      public float yVelO
  • Constructor Details

    • ScreenElement

      public ScreenElement​(Texture texture, int int1, int int2, float float1, float float2, int int3)
  • Method Details

    • render

      public void render()
    • setY

      public void setY​(float float1)
    • update

      public void update()