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 <cstdint>
#include <initializer_list> #include <initializer_list>
int add(int a, int b) {
return a + b;
}
Action::Action(std::string name, bool hasTarget) { Action::Action(std::string name, bool hasTarget) {
this->name = name; this->name = name;
this->hasTarget = hasTarget; this->hasTarget = hasTarget;

View File

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