max-mapper / voxel-engine

3D HTML5 voxel game engine
http://maxogden.github.com/voxel-engine
BSD 3-Clause "New" or "Revised" License
1.29k stars 220 forks source link

Return item after addItem #57

Closed shama closed 11 years ago

shama commented 11 years ago

This will return the item after calling game.addItem(item). To more easily access the item if you are using it to create a physical item.