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/Scenario.h

26 lines
408 B

#pragma once
#include "VirusAttack.h"
class Scenario{
public:
Scenario();
virtual ~Scenario();
virtual void Start();
void _Update();
virtual void Update()=0;
void _Draw();
virtual void Draw()=0;
protected:
int state=0;
Textbox dialog;
float initialWaitTimer=3;
};
class Stage1:public Scenario{
public:
Stage1();
~Stage1();
void Start()override;
void Update()override;
void Draw()override;
};