You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
VirusAttack/olcCodeJam2023Entry/VirusAttack.h

19 lines
367 B

#include "olcPixelGameEngine.h"
#include "olcSoundWaveEngine.h"
#include "Unit.h"
#include "Constant.h"
class VirusAttack : public olc::PixelGameEngine
{
private:
std::vector<std::unique_ptr<Unit>>units;
vf2d startingDragPos=CONSTANT::UNSELECTED;
public:
VirusAttack();
public:
bool OnUserCreate() override;
bool OnUserUpdate(float fElapsedTime) override;
};