zombie.gameStates
Class ChooseStory

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

public class ChooseStory
extends GameState

Author:
LEMMY

Nested Class Summary
 class ChooseStory.Story
           
 
Field Summary
 int SelectedStory
           
 
Constructor Summary
ChooseStory()
           
 
Method Summary
static void DrawTexture(Texture tex, int x, int y, int width, int height, float alpha)
           
 void enter()
           
 void getStoryDetails(ChooseStory.Story story, java.lang.String dir)
           
 void getStoryList()
           
 void render()
           
 GameStateMachine.StateAction update()
           
 
Methods inherited from class zombie.gameStates.GameState
exit, redirectState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SelectedStory

public int SelectedStory
Constructor Detail

ChooseStory

public ChooseStory()
Method Detail

getStoryDetails

public void getStoryDetails(ChooseStory.Story story,
                            java.lang.String dir)
                     throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

enter

public void enter()
Overrides:
enter in class GameState

getStoryList

public void getStoryList()

update

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

render

public void render()
Overrides:
render in class GameState

DrawTexture

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