]> Dogcows Code - chaz/yoink/blobdiff - src/GameLayer.hh
experimental shapes hierarchy and raycasting
[chaz/yoink] / src / GameLayer.hh
index d75d9dc467e07ca998c57374e4482ac816b48112..f966c7092ca3703affa4dee90dc60172815a75dd 100644 (file)
 #include <Moof/Script.hh>
 #include <Moof/Sound.hh>
 
+#include <Moof/Line.hh>
+#include <Moof/Plane.hh>
+#include <Moof/Ray.hh>
+#include <Moof/Sphere.hh>
+
 #include "Character.hh"
 #include "Heroine.hh"
 #include "Scene.hh"
@@ -58,6 +63,7 @@ typedef boost::shared_ptr<GameLayer> GameLayerP;
 class GameLayer : public Mf::Layer
 {
 public:
+
        GameLayer();
 
        static GameLayerP alloc()
@@ -99,6 +105,11 @@ private:
        State           mState;
        Mf::Sound       mMusic;
        Mf::Sound       mPunchSound;
+
+       Mf::Ray<2>      mRay;
+       Mf::Line<2>     mLine;
+       Mf::Plane       mPlane;
+       Mf::Sphere<2>   mSphere;
 };
 
 
This page took 0.018516 seconds and 4 git commands to generate.