Contents

Macros

SE_REGISTER_BEHAVIOR

Declared in
engine/world/simulation/include/SushiEngine/simulation/entity_behavior.hpp
#define SE_REGISTER_BEHAVIOR(ClassName)

Parameters

Name
ClassName

Description

Placed at file scope in a behavior's .cpp: registers ClassName under its own name the first time this translation unit's static initializers run, before main().

Example


class Beacon : public SushiEngine::Simulation::IEntityBehavior
{
};
SE_REGISTER_BEHAVIOR(Beacon);