package me.shzylo.mansionazazelvisual.entity;

import java.util.Random;

import me.shzylo.mansionazazelvisual.gfx.Screen;
import me.shzylo.mansionazazelvisual.level.Level;

public class Entity {

  public int x, y;
	private boolean removed = false;
	protected Level level;
	protected final Random random = new Random();

	public void update() {

	}

	public void render(Screen screen) {

	}

	public void remove() { // Remove from level
		removed = true;
	}

	public boolean isRemoved() {
		return removed;
	}

	public void init(Level level) {
		this.level = level;
	}
}

@@ -24,22 +24,16 @@
 onazazel
-visual
 .entity;
@@ -94,18 +94,17 @@
 azel
-visual.gfx
+.graphics
 .Scr
@@ -142,14 +142,8 @@
 azel
-visual
 .lev
@@ -153,22 +153,74 @@
 Level;%0A%0A
-public
+/**%0A * Abstract class for all entities%0A */%0Apublic abstract
  class E
@@ -231,11 +231,9 @@
 y %7B%0A
-%0A  
+%09
 publ
@@ -356,144 +356,404 @@
 ;%0A%0A%09
-public void update() %7B%0A%0A%09%7D%0A%0A%09public void render(Screen screen) %7B%0A%0A%09%7D%0A%0A%09public void remove() %7B // Remove from level%0A%09%09removed = true;%0A%09%7D%0A
+/**%0A%09 * Update the entity%0A%09 */%0A%09public abstract void update();%0A%0A%09/**%0A%09 * Render the entity to the screen%0A%09 * %0A%09 * @param screen%0A%09 *           The screen%0A%09 */%0A%09public abstract void render(Screen screen);%0A%0A%09/**%0A%09 * Remove the entity from the level%0A%09 */%0A%09public void remove() %7B%0A%09%09removed = true;%0A%09%7D%0A%0A%09/**%0A%09 * Check if the entity has been removed%0A%09 * %0A%09 * @return if the entity is removed or not%0A%09 */
 %0A%09pu
@@ -802,22 +802,146 @@
 d;%0A%09%7D%0A%0A%09
-public
+/**%0A%09 * Put the entity into the level%0A%09 * %0A%09 * @param level%0A%09 *           The level the entity will be put into%0A%09 */%0A%09public final
  void in

Update Entity.java