feat: remove add function

This commit is contained in:
Jorens Shtekels 2024-03-12 22:42:20 +02:00
parent cb7927a6fc
commit b2e2e44599
2 changed files with 1 additions and 8 deletions

View File

@ -5,10 +5,6 @@
#include <cstdint>
#include <initializer_list>
int add(int a, int b) {
return a + b;
}
Action::Action(std::string name, bool hasTarget) {
this->name = name;
this->hasTarget = hasTarget;

View File

@ -7,9 +7,6 @@
#include <string>
#include <vector>
// For test example
int add(int a, int b);
// All IDs are uint32_t
enum EventType {
PHASE_CHANGE,
@ -58,7 +55,7 @@ struct Player {
Role role;
PlayerStatus playerStatus;
Player(uint32_t id, std::string username, Role role, PlayerStatus playerStatus);
Player(uint32_t id, std : string username, Role role, PlayerStatus playerStatus);
bool operator==(const Player &other) const;
};