public void update(float dt){
		if(moving){
			if(path!=null)
				goalPosition = path.getCurrent();
			
			if(goalPosition!=null) {
				//offset Tile image according to speed?
				tile.setOffsetX(tile.getOffsetX() + dt);
				
				//finished moving?
				if(true){
					if(path!=null){
						path.stepIndex();
						if(path.completed){
							moving = false;
							goalPosition = null;
							path = null;
						}
					} else {
						moving = false;
						goalPosition = null;
					}
				}
			}
		}
	}