everything is broken, don't use :(
[exterlulz-musk.git] / src / musk / engine.h
blob21f5e7ace744b0080f31dbc96b6f3b44e73ee2f1
1 #ifndef MUSK_ENGINE_H_
2 #define MUSK_ENGINE_H_
4 #include "lua_vm.h"
5 // ???: #include "scene.h"
7 #include <string>
9 namespace musk {
11 class Engine
13 public:
14 Engine(const std::string& filename);
15 virtual ~Engine();
17 void loadConfigFile(const std::string& filename);
19 void boot();
21 int fps() const { return fps_; }
22 int width() const { return width_; }
23 int height() const { return height_; }
25 private:
26 LuaVM lua_;
28 int fps_;
29 int width_, height_;
31 // TODO: use Scene *scene_ to draw stuff
34 } // namespace musk
36 #endif // MUSK_ENGINE_H_