constructor generator

C++ Constructor Generator







Output:



    

Example Usage:

ToolboxEngine tbx;
Physics physics;
SoundSystem sound;
meta_program::MetaProgram mp;
std::unordered_map client_map;
double cycle = 0.5;

GameMode gameMode(tbx, physics, sound, mp, client_map, cycle);
    

Expected Output:

GameMode(ToolboxEngine &tbx_engine,
         Physics &physics,
         SoundSystem &sound_system,
         meta_program::MetaProgram &mp,
         std::unordered_map &client_id_to_non_local_character,
         const double ¤t_percentage_through_cycle)
    : tbx_engine(tbx_engine),
      physics(physics),
      sound_system(sound_system),
      mp(mp),
      client_id_to_non_local_character(client_id_to_non_local_character),
      current_percentage_through_cycle(current_percentage_through_cycle)
{}
    

edit this page