package dom;

import java.awt.image.BufferedImage;

import adm.ADM;

public class Item extends DynamicObject{
	
	public Item(){ drawable = false; }
	public Item(int x, int y, int direction, int assetIndex, int frame){
		drawable = true;
		
		this.x = x;
		this.y = y;
		this.direction = direction;
		this.assetIndex = assetIndex;
		this.frame = frame;
	}
	public Item(int x, int y, int direction, int assetIndex){
		drawable = true;
		
		this.x = x;
		this.y = y;
		this.direction = direction;
		this.assetIndex = assetIndex;
		this.frame = 0;
	}
	
	public BufferedImage getImage(){
		return ADM.getInstance().getItemAsset(assetIndex);
	}
}

@@ -147,16 +147,30 @@
  false; 
+direction = 0;
 %7D%0D%0A%09publ

fix item direction