/in/lab7.cpp: In constructor 'TANK::TANK(int, int, Direction)':
/in/lab7.cpp:73:18: warning: 'TANK::location' will be initialized after [-Wreorder]
Vector2<int> location;
^~~~~~~~
/in/lab7.cpp:72:9: warning: 'int TANK::direction' [-Wreorder]
int direction;
^~~~~~~~~
/in/lab7.cpp:18:5: warning: when initialized here [-Wreorder]
TANK(int b = 0, int c = 0, Direction d = D_Left) : location(Vector2<int>(b, c)), direction(d), life(5) {}
^~~~
/in/lab7.cpp:72:9: warning: 'TANK::direction' will be initialized after [-Wreorder]
int direction;
^~~~~~~~~
/in/lab7.cpp:71:9: warning: 'int TANK::life' [-Wreorder]
int life;
^~~~
/in/lab7.cpp:18:5: warning: when initialized here [-Wreorder]
TANK(int b = 0, int c = 0, Direction d = D_Left) : location(Vector2<int>(b, c)), direction(d), life(5) {}
^~~~