Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/kipje13/CPPExampleBot
Browse files Browse the repository at this point in the history
  • Loading branch information
kipje13 committed Sep 13, 2019
2 parents df912f7 + 4b6a680 commit 0e30aea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examplebot.cc
Expand Up @@ -31,6 +31,12 @@ ExampleBot::ExampleBot(int _index, int _team, std::string _name)
rlbot::Interface::SetGameState(gamestate);
}

ExampleBot::~ExampleBot()
{
// Free your allocated memory here.
printf("test\n");
}

rlbot::Controller
ExampleBot::GetOutput(const rlbot::flat::GameTickPacket *gameTickPacket,
const rlbot::flat::FieldInfo *fieldInfo,
Expand Down
1 change: 1 addition & 0 deletions examplebot.h
Expand Up @@ -5,6 +5,7 @@
class ExampleBot : public rlbot::Bot {
public:
ExampleBot(int _index, int _team, std::string _name);
~ExampleBot();
rlbot::Controller
GetOutput(const rlbot::flat::GameTickPacket *gameTickPacket,
const rlbot::flat::FieldInfo *fieldInfo,
Expand Down

0 comments on commit 0e30aea

Please sign in to comment.