-/*] 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 _CHARACTER_HH_
#define _CHARACTER_HH_
#include <moof/math.hh>
#include <moof/rigid_body.hh>
#include <moof/sphere.hh>
-#include <moof/texture.hh>
+#include <moof/sprite.hh>
#include "Animation.hh"
class Character;
typedef boost::shared_ptr<Character> CharacterP;
-
/**
* Parent class of animate objects with "personalities." This basically
* includes the heroine herself and the bad guys.
*/
-
class Character : public moof::rigid_body2
{
public:
//virtual int getOctant(const moof::Aabb<3>& aabb) const;
- moof::texture tilemap;
+ moof::sprite tilemap;
Animation animation;
};