zombie.gameStates
Class PrefaceState

java.lang.Object
  extended by zombie.gameStates.GameState
      extended by zombie.gameStates.PrefaceState

public class PrefaceState
extends GameState

Author:
LEMMY

Field Summary
 float alpha
           
 float alphaStep
           
 int delay
           
 int leavedelay
           
 float messageTime
           
 float messageTimeMax
           
 Audio musicTrack
           
 int stage
           
 float targetAlpha
           
 
Constructor Summary
PrefaceState()
           
 
Method Summary
 void DrawTexture(Texture tex, int x, int y, int width, int height, Color col)
           
 void DrawTexture(Texture tex, int x, int y, int width, int height, float alpha)
           
 void enter()
           
 void exit()
           
 void render()
           
 GameStateMachine.StateAction update()
           
 
Methods inherited from class zombie.gameStates.GameState
redirectState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alpha

public float alpha

alphaStep

public float alphaStep

delay

public int delay

leavedelay

public int leavedelay

messageTime

public float messageTime

messageTimeMax

public float messageTimeMax

musicTrack

public Audio musicTrack

stage

public int stage

targetAlpha

public float targetAlpha
Constructor Detail

PrefaceState

public PrefaceState()
Method Detail

DrawTexture

public void DrawTexture(Texture tex,
                        int x,
                        int y,
                        int width,
                        int height,
                        float alpha)

DrawTexture

public void DrawTexture(Texture tex,
                        int x,
                        int y,
                        int width,
                        int height,
                        Color col)

enter

public void enter()
Overrides:
enter in class GameState

exit

public void exit()
Overrides:
exit in class GameState

render

public void render()
Overrides:
render in class GameState

update

public GameStateMachine.StateAction update()
Overrides:
update in class GameState