diff --git a/CAPI/API/include/AI.h b/CAPI/API/include/AI.h index 4fba3ad..c80728e 100644 --- a/CAPI/API/include/AI.h +++ b/CAPI/API/include/AI.h @@ -7,7 +7,7 @@ class IAI { public: - virtual void play(IAPI& appi) = 0; + virtual void play(IAPI& api) = 0; }; #endif \ No newline at end of file diff --git a/CAPI/API/include/API.h b/CAPI/API/include/API.h index 3aabda2..7d76642 100644 --- a/CAPI/API/include/API.h +++ b/CAPI/API/include/API.h @@ -142,7 +142,7 @@ class IAPIForLogic : public IAPI class IHumanAPI : public IAPIForLogic { public: - HumanAPI(ILogic& logic) : + IHumanAPI(ILogic& logic) : IAPIForLogic(logic) { } @@ -159,7 +159,7 @@ public: class IButcherAPI : public IAPIForLogic { public: - ButcherAPI(Logic& logic) : + IButcherAPI(Logic& logic) : IAPIForLogic(logic) { } @@ -174,7 +174,7 @@ class HumanAPI : public IHumanAPI { public: HumanAPI(Logic& logic) : - logic(logic) + IHumanAPI(logic) { } }; @@ -183,7 +183,7 @@ class DebugHumanAPI : public IHumanAPI { public: DebugHumanAPI(Logic& logic) : - logic(logic) + IHumanAPI(logic) { } }; @@ -192,7 +192,7 @@ class ButhcerAPI : public IButcherAPI { public: ButhcerAPI(Logic& logic) : - logic(logic) + IButcherAPI(logic) { } }; @@ -201,7 +201,7 @@ class DebugButcherAPI : public IButcherAPI { public: DebugButcherAPI(Logic& logic) : - logic(logic) + IButcherAPI(logic) { } };