package com.drawbridge.jsengine.jsobjects;
import com.drawbridge.dm.DMImageFactory.DMImage;
public class JSImage extends JSObject
{
DMImage mValue;
public JSImage(DMImage image){
mValue = image;
//This might be difficult to get working as you have to send the object itself to the native function
super.addProperty("setTweenPosition", new JSNativeFunction(this, "setTweenPosition", new Class<?>[] {JSNumber.class, JSNumber.class}));
super.addProperty("setTweenSize", new JSNativeFunction(this, "setTweenSize", new Class<?>[] {JSNumber.class, JSNumber.class}));
}
}