Removed static things, fixed astar bugs. only thing left is bomber attacking ronge

This commit is contained in:
Ziver Koc 2007-06-17 22:31:09 +00:00
parent 91c3e77465
commit 526ce82d40
33 changed files with 293 additions and 196 deletions

View file

@ -7,7 +7,7 @@ import ei.game.gamestate.EndGameState;
public class PlayerHandler {
// The instance of this class
private static PlayerHandler instance;
//private static PlayerHandler instance;
// The player list
private ArrayList<Player> players;
private Node playerNode;
@ -104,13 +104,13 @@ public class PlayerHandler {
* Returns the instance of this class
*
* @return The instance
*/
public static PlayerHandler getInstance(){
if(instance == null){
instance = new PlayerHandler();
}
return instance;
}
}*/
public void clear(){
players.clear();