| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include "Library/Factory/Factory.h" |
| 4 | |
| 5 | namespace al { |
| 6 | class LiveActor; |
| 7 | |
| 8 | using ActorCreatorFunction = LiveActor* (*)(const char* actorName); |
| 9 | |
| 10 | class ActorFactory : public Factory<ActorCreatorFunction> { |
| 11 | public: |
| 12 | ActorFactory(const char* factoryName); |
| 13 | }; |
| 14 | } // namespace al |
| 15 |