-/*] Copyright (c) 2009-2010, Charles McGarvey [**************************
+/*] Copyright (c) 2009-2011, Charles McGarvey [*****************************
**] All rights reserved.
*
-* vi:ts=4 sw=4 tw=75
-*
* Distributable under the terms and conditions of the 2-clause BSD license;
* see the file COPYING for a complete text of the license.
*
-**************************************************************************/
+*****************************************************************************/
#ifndef _YOINK_HH_
#define _YOINK_HH_
-/**
- * \file yoink.hh
- * This is the big enchilada.
- */
-
#include <iostream>
#include <string>
#include <vector>
#include <boost/shared_ptr.hpp>
-#include <moof/math.hh>
-#include <moof/sound.hh>
-
#include <moof/line.hh> // TODO
+#include <moof/math.hh>
#include <moof/plane.hh>
#include <moof/ray.hh>
+#include <moof/sound.hh>
#include <moof/sphere.hh>
#include <moof/timer.hh>
#include "Hud.hh"
+/**
+ * \file yoink.hh
+ * This is the big enchilada.
+ */
+
class yoink
{
public:
void projection();
void projection(moof::scalar width, moof::scalar height);
- mutable GameState state_;
+ mutable GameState state_;
HudP mHud;
- moof::sound punch_sound_;
+ moof::sound punch_sound_;
moof::sound music_;
moof::ray2 mRay;
moof::line2 mLine;
- moof::circle mCircle;
+ moof::circle mCircle;
moof::timer mRayTimer;
void rayTimer();