Delete Soldier class

Make Infantry as structure
This commit is contained in:
2025-07-07 02:43:47 +03:00
parent f13bf95ba2
commit 253e1cf423
6 changed files with 16 additions and 30 deletions

View File

@@ -1,14 +1,5 @@
#pragma once
#include "Soldier.h"
class Infantry : public Soldier {
public:
Infantry() : Soldier() {};
int step() override
{
return 10;
}
void fire() override
{
return;
}
struct Infantry {
void attack();
};