lua/wrappers/game/lua_door.cpp
/**
	 * Moves a door by {x, y} grid amounts.
	 * If the new location isn't valid, the door 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.door This
	 */
Moves a door by {x, y} grid amounts.
If the new location isn't valid, the door 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.door This
Moves a door by { x y } grid amounts . If the new location isn ' t valid the door 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 . door This
int Door_move_grid(lua_State *lua)
	{
		Door *obj = castUData<Door>(lua, 1);
		if (obj)
		{
			return GameObject_move_grid(lua, obj);
		}
		return LuaState::expectedContext(lua, "move_grid", "am.door");
	}
int Door_move_grid ( lua_State * lua ) { Door * obj = castUData < Door > ( lua , 1 ) ; if ( obj ) { return GameObject_move_grid ( lua , obj ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Moves a door by {x, y} grid amounts.
Moves a door by { x y } grid amounts .