X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FGameLayer.hh;h=4e0a84f07752c4742417930073cf5e1f53f0a71d;hp=f966c7092ca3703affa4dee90dc60172815a75dd;hb=7f3984f3f9524f5b6813e01ceb2fe576dadff94e;hpb=2d77fb5fb3480f522658f30af6addd5146530517 diff --git a/src/GameLayer.hh b/src/GameLayer.hh index f966c70..4e0a84f 100644 --- a/src/GameLayer.hh +++ b/src/GameLayer.hh @@ -51,6 +51,7 @@ #include #include #include +#include #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(); };