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.
38 lines
647 B
38 lines
647 B
#include "Scenario.h"
|
|
|
|
extern VirusAttack*game;
|
|
|
|
Scenario::Scenario(){
|
|
dialog.SetVisible(false);
|
|
}
|
|
Scenario::~Scenario(){}
|
|
|
|
void Scenario::Start(){}
|
|
|
|
void Scenario::_Update(){
|
|
initialWaitTimer=std::max(0.f,initialWaitTimer-game->GetElapsedTime());
|
|
Update();
|
|
}
|
|
void Scenario::_Draw(){
|
|
Draw();
|
|
}
|
|
|
|
Stage1::Stage1(){}
|
|
|
|
Stage1::~Stage1(){}
|
|
|
|
void Stage1::Start(){
|
|
game->unitMetersGreyedOut=true;
|
|
game->playerInControl=false;
|
|
}
|
|
|
|
void Stage1::Update(){
|
|
switch(state){
|
|
case 0:{
|
|
dialog.Initialize("Hello Hacker, thank you for taking on this request for me.",{24,64},"",&game->IMAGES[SEGMENT_BAR],{378,28});
|
|
}break;
|
|
}
|
|
}
|
|
void Stage1::Draw(){
|
|
|
|
} |