package ashley.core;

/**
 * EntitySystem is a base class for processing entities and exposes a few basic methods
 * required.
 * 
 * @author Stefan Bachmann
 */
public class EntitySystem {
	/** Use this to set the priority of the system. Lower means it'll get executed first. */
	public int priority;
	
	/**
	 * Default constructor that will initialise an EntitySystem with priority 0.
	 */
	public EntitySystem(){
		this(0);
	}
	
	/**
	 * Initialises the EntitySystem with the priority specified
	 * @param priority The priority to execute this system with (lower means higher priority)
	 */
	public EntitySystem(int priority){
		this.priority = priority;
	}
	
	/**
	 * Called when this EntitySystem is added to an Engine
	 * @param engine The Engine this system was added to
	 */
	public void addedToEngine(Engine engine){
		
	}
	
	/**
	 * Called when this EntitySystem is removed from an Engine
	 * @param engine The Engine the system was removed from
	 */
	public void removedFromEngine(Engine engine){
		
	}

	/**
	 * The update method called every tick
	 * @param deltaTime The time passed since last frame in Seconds
	 */
	public void update(float deltaTime){
		
	}

    /**
     *
     * @return true if the system should be processed, false if not.
     */
    public boolean checkProcessing() {
        return true;
    }
}

@@ -126,10 +126,9 @@
 .%0A *
- 
 %0A
+
  * @
@@ -161,16 +161,25 @@
 %0Apublic 
+abstract 
 class En
@@ -303,18 +303,17 @@
 iority;%0A
-%09
 %0A
+
 %09/**%0A%09 *
@@ -426,26 +426,25 @@
 this(0);%0A%09%7D%0A
-%09
 %0A
+
 %09/**%0A%09 * Ini
@@ -656,26 +656,25 @@
 riority;%0A%09%7D%0A
-%09
 %0A
+
 %09/**%0A%09 * Cal
@@ -826,17 +826,12 @@
 ine)
+ 
 %7B
-%0A%09%09%0A%09
 %7D%0A
-%09
 %0A%09/*
@@ -999,22 +999,18 @@
  engine)
+ 
 %7B
-%0A%09%09%0A%09
 %7D%0A%0A%09/**%0A
@@ -1159,14 +1159,10 @@
 ime)
+ 
 %7B
-%0A%09%09%0A%09
 %7D%0A%0A 

change EntitySystem class to abstract class