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 <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;
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user