I do think, however, that adding some API to allow direct interaction with a map outside of the drop/drag mechanism would be great.
This might be something like:
Code: Select all
OpenSpace.addInventoryItem(itemId:String, coords:Position3D, tileInstName:String, tileTriggers:Array, params:Array, broadcast:Boolean = true):Boolean;
OpenSpace.removeInventoryItem(itemId:String, coords:Position3D):Sprite;
The suggested code above is pretty rough but I'm sure you get the idea.