Added a TexturLoader and Nodes, Sprites and some modifications
This commit is contained in:
parent
330607c72b
commit
82d2a64097
6 changed files with 687 additions and 0 deletions
|
|
@ -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)){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue