fysxasteroids/asteroids/Game.cc

23 lines
385 B
C++
Raw Normal View History

#include "Engine.h"
#include "Game.h"
#include "Model.h"
#include "View.h"
#include "Controller.h"
namespace asteroids {
Model *GetModel () {
return dynamic_cast<Model*> (Engine::EngineGetModel());
}
View *GetView () {
return dynamic_cast<View*> (Engine::EngineGetView());
}
Controller *GetController () {
return dynamic_cast<Controller*> (Engine::EngineGetController());
}
}