10 lines
227 B
C++
10 lines
227 B
C++
#include "SmartObject.h"
|
|
namespace ECS
|
|
{
|
|
SmartObjectModule::SmartObjectModule(flecs::world &ecs)
|
|
{
|
|
ecs.module<SmartObjectModule>();
|
|
ecs.component<SmartObjectManager>().add(flecs::Singleton);
|
|
ecs.component<SmartObject>();
|
|
}
|
|
} |