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.
|
|
|
#pragma once
|
|
|
|
#include "olcUTIL_Camera2D.h"
|
|
|
|
#include "Textbox.h"
|
|
|
|
|
|
|
|
class Scenario{
|
|
|
|
public:
|
|
|
|
Scenario();
|
|
|
|
virtual~Scenario();
|
|
|
|
void _Start();
|
|
|
|
virtual void Start();
|
|
|
|
void _Update();
|
|
|
|
protected:
|
|
|
|
virtual void Update();
|
|
|
|
int state=0;
|
|
|
|
utils::Camera2D camera;
|
|
|
|
vf2d targetPos;
|
|
|
|
Textbox box;
|
|
|
|
float initialWaitTime=3;
|
|
|
|
};
|
|
|
|
|
|
|
|
class Stage1:public Scenario{
|
|
|
|
public:
|
|
|
|
Stage1();
|
|
|
|
protected:
|
|
|
|
void Start();
|
|
|
|
void Update();
|
|
|
|
};
|
|
|
|
class Stage2:public Scenario{
|
|
|
|
public:
|
|
|
|
Stage2();
|
|
|
|
protected:
|
|
|
|
void Start();
|
|
|
|
void Update();
|
|
|
|
};
|
|
|
|
class Stage3:public Scenario{
|
|
|
|
public:
|
|
|
|
Stage3();
|
|
|
|
protected:
|
|
|
|
void Start();
|
|
|
|
void Update();
|
|
|
|
};
|
|
|
|
class Stage4:public Scenario{
|
|
|
|
public:
|
|
|
|
Stage4();
|
|
|
|
protected:
|
|
|
|
void Start();
|
|
|
|
void Update();
|
|
|
|
};
|
|
|
|
class Stage5:public Scenario{
|
|
|
|
public:
|
|
|
|
Stage5();
|
|
|
|
protected:
|
|
|
|
void Start();
|
|
|
|
void Update();
|
|
|
|
};
|
|
|
|
class Stage6:public Scenario{
|
|
|
|
public:
|
|
|
|
Stage6();
|
|
|
|
protected:
|
|
|
|
void Start();
|
|
|
|
void Update();
|
|
|
|
};
|
|
|
|
class Stage7:public Scenario{
|
|
|
|
public:
|
|
|
|
Stage7();
|
|
|
|
protected:
|
|
|
|
void Start();
|
|
|
|
void Update();
|
|
|
|
};
|
|
|
|
class Stage8:public Scenario{
|
|
|
|
public:
|
|
|
|
Stage8();
|
|
|
|
protected:
|
|
|
|
void Start();
|
|
|
|
void Update();
|
|
|
|
};
|