lua/wrappers/game/lua_engine.cpp
/**
	 * @static
	 * Adds a race to the game engine.
	 * @param am.race race The race to add.
	 * @returns boolean True if the race was successfully added.
	 */
@static
Adds a race to the game engine.
@static Adds a race to the game engine .
int Engine_add_race(lua_State *lua)
	{
		Race *race = castUData<Race>(lua, 1);
		if (race)
		{
			lua_pushboolean(lua, Engine::getEngine()->addRace(race));
			return 1;
		}
		return LuaState::expectedArgs(lua, "@add_race", "am.race race");
	}
int Engine_add_race ( lua_State * lua ) { Race * race = castUData < Race > ( lua , 1 ) ; if ( race ) { lua_pushboolean ( lua , Engine :: getEngine ( ) -> addRace ( race ) ) ; return 1 ; } return LuaState :: expectedArgs ( lua , " " , " " ) ; }
@static
 Adds a race to the game engine.
@static Adds a race to the game engine .