package Entities;

import org.jsfml.graphics.Sprite;

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

    // Angle of the entity relative to origin
    private int angle;
    // Radius of the entity relative to origin
    private int radius;

    public GameBaseEntity() {
        this.setPosition(0,0);
        this.angle = 0;
        this.radius = 0;
    }
}

@@ -283,16 +283,249 @@
 radius;%0A
+    // Allow to know if the entity is alive or not%0A    private boolean isAlive;%0A    // Allow to know if the entity is displayable or not%0A    private boolean isVisible;%0A%0A    /**%0A     * Default constructor of the GameBaseEntity%0A     */
 %0A    pub
@@ -547,16 +547,33 @@
 ity() %7B%0A
+        super();%0A
         
@@ -640,20 +640,673 @@
 radius = 0;%0A
+        this.isAlive = true;%0A        this.isVisible = false;%0A    %7D%0A%0A    //  Accessors   //%0A    public int getRadius() %7B%0A        return radius;%0A    %7D%0A%0A    public void setRadius(int radius) %7B%0A        this.radius = radius;%0A    %7D%0A%0A    public int getAngle() %7B%0A%0A        return angle;%0A    %7D%0A%0A    public void setAngle(int angle) %7B%0A        this.angle = angle;%0A    %7D%0A%0A    public boolean isAlive() %7B%0A        return isAlive;%0A    %7D%0A%0A    public void setAlive(boolean isAlive) %7B%0A        this.isAlive = isAlive;%0A    %7D%0A%0A    public boolean isVisible() %7B%0A        return isVisible;%0A    %7D%0A%0A    public void setVisible(boolean isVisible) %7B%0A        this.isVisible = isVisible;%0A
     %7D%0A%7D%0A

Add isVisible and isAlive attributs with getters and setters.