*
**************************************************************************/
-#ifndef _GAMELAYER_HH_
-#define _GAMELAYER_HH_
+#ifndef _YOINK_HH_
+#define _YOINK_HH_
/**
- * @file GameLayer.hh
+ * \file yoink.hh
* This is the big enchilada.
*/
#include <moof/ray.hh>
#include <moof/sphere.hh>
#include <moof/timer.hh>
-#include <moof/view.hh>
#include "GameState.hh"
#include "Hud.hh"
-class GameLayer;
-typedef boost::shared_ptr<GameLayer> GameLayerP;
-
-class GameLayer : public moof::view
+class yoink
{
public:
- static GameLayerP alloc()
- {
- return GameLayerP(new GameLayer);
- }
- GameLayer();
-
- void did_add_to_view();
+ yoink();
void update(moof::scalar t, moof::scalar dt);
void draw(moof::scalar alpha) const;
private:
- void loadSceneLoader();
- void advanceScene(moof::settings& settings);
+ void load_scene_loader();
+ void advance_scene();
void projection();
void projection(moof::scalar width, moof::scalar height);
};
-#endif // _GAMELAYER_HH_
+#endif // _YOINK_HH_