public void tick() {
		super.tick();
		if (isWalking) {
			ref++;
			moveDir(getFacing());
			if (ref == 16) {
				ref = 0;
				isWalking = false;
				setTextureRegion(sprites.getSprite(getFacing()));
				synchronized (this) {
					this.notifyAll();
				}
			}
		}
	}