code/modules/capture_the_flag/ctf_controller.dm
/datum/ctf_controller | The CTF controller acts as a manager for an individual CTF game, each CTF game should have its own, the controller should handle all game-wide functionality. |
---|---|
/datum/ctf_team | A datum that holds details about individual CTF teams, any team specific CTF functionality should be implemented here. |
/proc/create_ctf_game | Creates a CTF game with the provided team ID then returns a reference to the new controller. If a controller already exists provides a reference to it. |