lua/wrappers/game/lua_item.cpp
/**
	 * Moves a item by {x, y} grid amounts.
	 * If the new location isn't valid, the item isn't moved.
	 * @param integer x The x grid amount to by move by
	 * @param integer y The y grid amount to by move by
	 * @returns am.item This
	 */
Moves a item by {x, y} grid amounts.
If the new location isn't valid, the item isn't moved.
@param integer x The x grid amount to by move by
@param integer y The y grid amount to by move by
@returns am.item This
Moves a item by { x y } grid amounts . If the new location isn ' t valid the item isn ' t moved . @param integer x The x grid amount to by move by @param integer y The y grid amount to by move by @returns am . item This
int Item_move_grid(lua_State *lua)
	{
		Item *obj = castUData<Item>(lua, 1);
		if (obj)
		{
			return GameObject_move_grid(lua, obj);
		}
		return LuaState::expectedContext(lua, "move_grid", "am.item");
	}
int Item_move_grid ( lua_State * lua ) { Item * obj = castUData < Item > ( lua , 1 ) ; if ( obj ) { return GameObject_move_grid ( lua , obj ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Moves a item by {x, y} grid amounts.
Moves a item by { x y } grid amounts .