#pragma once class Infantry { private: int x; int y; public: Infantry(int _x, int _y) : x(_x), y(_y) {}; void get_coordinates(); void attack(); };