public MapObject(TileMap tm, World world, String uin) {
		UIN = uin;
		
		tileMap = tm;
		tileSize = tm.getTileSize();
		this.world = world;
		currentAction = -1;

		if(hasAnimation()){
			animation = new Animation();
		}else{
			animation = new Animation();
			BufferedImage[] bi = new BufferedImage[]{getEntityTexture()};
			animation.setFrames(bi);
			animation.setDelay(Animation.NONE);
		}
	}