Debug information about positions of units

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

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();
};