lua/wrappers/game/lua_character.cpp
/**
	 * Moves a character by {x, y} amount.
	 * If the new location isn't valid, the character isn't moved.
	 * @param number x The x amount to move by
	 * @param number y The y amount to move by
	 * @returns am.character This
	 */
Moves a character by {x, y} amount.
If the new location isn't valid, the character isn't moved.
@param number x The x amount to move by
@param number y The y amount to move by
@returns am.character This
Moves a character by { x y } amount . If the new location isn ' t valid the character isn ' t moved . @param number x The x amount to move by @param number y The y amount to move by @returns am . character This
int Character_move(lua_State *lua)
	{
		Character *obj = castUData<Character>(lua, 1);
		if (obj)
		{
			return GameObject_move(lua, obj);
		}
		return LuaState::expectedContext(lua, "move", "am.character");
	}
int Character_move ( lua_State * lua ) { Character * obj = castUData < Character > ( lua , 1 ) ; if ( obj ) { return GameObject_move ( lua , obj ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Moves a character by {x, y} amount.
Moves a character by { x y } amount .