X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FGameLayer.hh;h=4692611789f7cfbc1829be8b67cf13677d94a87d;hp=d75d9dc467e07ca998c57374e4482ac816b48112;hb=7e84479de612a4ce287c6f63deb014b447a993ec;hpb=e495074443d9fd7bc16137084cf9de3d031b75c4 diff --git a/src/GameLayer.hh b/src/GameLayer.hh index d75d9dc..4692611 100644 --- a/src/GameLayer.hh +++ b/src/GameLayer.hh @@ -47,6 +47,11 @@ #include #include +#include +#include +#include +#include + #include "Character.hh" #include "Heroine.hh" #include "Scene.hh" @@ -58,6 +63,7 @@ typedef boost::shared_ptr GameLayerP; class GameLayer : public Mf::Layer { public: + GameLayer(); static GameLayerP alloc() @@ -96,9 +102,15 @@ 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::Ray<3> mRay3; + Mf::Line<2> mLine; + Mf::Plane mPlane; + Mf::Sphere<2> mSphere; };