OpenAstra
 
Loading...
Searching...
No Matches
ModuleManager Class Reference

Public Member Functions

 ModuleManager (std::shared_ptr< StarsystemObject > owner)
 
bool modulesFromTemplate (const nlohmann::json &config)
 
void replaceModule (std::shared_ptr< Module > new_module, int64_t slot)
 
void replaceModule (const std::string &module_type, int64_t slot)
 
std::vector< std::shared_ptr< Module > > getModules ()
 
std::shared_ptr< ModulegetModule (ObjectId module_id) const
 
virtual void tick (double delta_time_s, double current_time_s)
 

The documentation for this class was generated from the following files: