Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /////
- // Lua interface
- /**
- * @luafunc Spawn::Spawn()
- * @luafunc Spawn::Spawn(geom)
- * @luafunc Spawn::Spawn(geom, speed)
- * @luaclass Spawn
- * @brief Marks locations where ships and robots should spawn.
- * @geom The geometry of Spawns is a single point.
- */
- // Fn name Param profiles Profile count
- #define LUA_METHODS(CLASS, METHOD) \
- METHOD(CLASS, constructor, ARRAYDEF({{ END }, { GEOM, END }, { GEOM, TEAM_INDX, END }}), 2 ) \
- GENERATE_LUA_METHODS_TABLE(Spawn, LUA_METHODS);
- GENERATE_LUA_FUNARGS_TABLE(Spawn, LUA_METHODS);
- #undef LUA_METHODS
- const char *Spawn::luaClassName = "Spawn";
- REGISTER_LUA_SUBCLASS(Spawn, BfObject);
Advertisement
Add Comment
Please, Sign In to add comment