Debug information about positions of units

Random position for flag and enemy (function Random)
This commit is contained in:
ParkSuMin committed 2025-07-07 17:42:31 +03:00
1 parent 253e1cf423
commit 7da1909c76
7 files changed
+110 -52

No files matched your search

+7 -1
View File
@@ -1,5 +1,11 @@
#pragma once
struct Infantry {
class Infantry {
private:
int x;
int y;
public:
Infantry(int _x, int _y) : x(_x), y(_y) {};
void get_coordinates();
void attack();
};