mirror of
https://github.com/jorenchik/testing-spring-2024.git
synced 2026-02-04 06:42:02 +00:00
feat: remove add function
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user