Added a TexturLoader and Nodes, Sprites and some modifications

This commit is contained in:
Ziver Koc 2007-03-08 19:17:23 +00:00
parent 330607c72b
commit 82d2a64097
6 changed files with 687 additions and 0 deletions

View file

@ -91,6 +91,11 @@ public class GameStateManager {
return false;
}
/**
* Searches for the given name of a GameState
* @param name The name of the GameState
* @return The index of the GameState
*/
private int getId(String name){
for(int i=0; i<gameStates.size() ;i++){
if(gameStates.get(i).getName().equals(name)){