package Entities;

/**
 * Created by steven on 10/10/14.
 */
public class Player extends GameBaseEntity{

    private static Player singleton;

    private Player() {
        super();
    }

    public Player getInstance() {
        singleton = new Player();
        return singleton;
    }
}

@@ -103,24 +103,16 @@
 y%7B%0A%0A    
-private 
 static P
@@ -126,16 +126,23 @@
 ingleton
+ = null
 ;%0A%0A    p
@@ -213,24 +213,60 @@
 nstance() %7B%0A
+        if(singleton == null) %7B%0A    
         sing
@@ -283,24 +283,34 @@
 w Player();%0A
+        %7D%0A
         retu

Fix singleton