Debug information about positions of units
Random position for flag and enemy (function Random)
This commit is contained in:
@@ -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();
|
||||
};
|
||||
Reference in New Issue
Block a user