]> Dogcows Code - chaz/yoink/blobdiff - src/GameLayer.hh
stream-based logging classes
[chaz/yoink] / src / GameLayer.hh
index f966c7092ca3703affa4dee90dc60172815a75dd..4e0a84f07752c4742417930073cf5e1f53f0a71d 100644 (file)
@@ -51,6 +51,7 @@
 #include <Moof/Plane.hh>
 #include <Moof/Ray.hh>
 #include <Moof/Sphere.hh>
+#include <Moof/Timer.hh>
 
 #include "Character.hh"
 #include "Heroine.hh"
@@ -102,14 +103,16 @@ private:
        void setProjection();
        void setProjection(Mf::Scalar width, Mf::Scalar height);
 
-       State           mState;
-       Mf::Sound       mMusic;
-       Mf::Sound       mPunchSound;
+       State                   mState;
+       Mf::SoundStream mMusic;
+       Mf::Sound               mPunchSound;
 
-       Mf::Ray<2>      mRay;
-       Mf::Line<2>     mLine;
-       Mf::Plane       mPlane;
+       Mf::Ray<2>              mRay;
+       Mf::Line<2>             mLine;
        Mf::Sphere<2>   mSphere;
+
+       Mf::Timer               mRayTimer;
+       void rayTimer();
 };
 
 
This page took 0.016746 seconds and 4 git commands to generate.