Browse Source

fix: 🐛 fix some bugs

修了几个错误的构造函数及一些错误的拼写
tags/0.1.0
DragonAura 3 years ago
parent
commit
97ddbf89d1
2 changed files with 7 additions and 7 deletions
  1. +1
    -1
      CAPI/API/include/AI.h
  2. +6
    -6
      CAPI/API/include/API.h

+ 1
- 1
CAPI/API/include/AI.h View File

@@ -7,7 +7,7 @@
class IAI
{
public:
virtual void play(IAPI& appi) = 0;
virtual void play(IAPI& api) = 0;
};

#endif

+ 6
- 6
CAPI/API/include/API.h View File

@@ -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)
{
}
};


Loading…
Cancel
Save