public class Obj {
	// Object type
	public static final int YUKKURI = 1;
	public static final int SHIT = 2;
	public static final int FOOD = 3;
	
	// Object event
	public static final int BIRTHBABY = 1;
	public static final int DOSHIT = 2;
	public static final int DEAD = 3;
	public static final int REMOVED = 4;
	public static final int DONOTHING = 5;

	// basic attributes
	protected int x, y, z;		//location
	protected int objType;		//YUKKURI, SHIT, FOOD
	protected boolean removed = false;
	
	public int getX() {
		return x;
	}
	
	public int getY() {
		return y;
	}
	
	public int getZ() {
		return z;
	}
	
	public int getObjType() {
		return objType;
	}
	
	public void remove() {
		removed = true;
	}
	
	public int clockTick() {
		if (removed == true) {
			return REMOVED;
		}
		return DONOTHING;
	}
}