MCPcopy Create free account
hub / github.com/Naios/continuable / UnitAI

Class UnitAI

examples/example-ai/example-ai.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44};
45
46struct UnitAI {
47 virtual ~UnitAI() = default;
48
49 virtual void OnEnterCombat() {
50 }
51};
52
53struct CreatureAI : UnitAI {
54 virtual cti::continuable<> MoveTo(Position pos) = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected