X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FAnimation.hh;h=c8cdca8ed752c4b3addfdc4ee0ccd61906cabc19;hp=3875b45f4819dccb880d4df763fbd676a8f4a708;hb=574af38ed616d1adfa5e6ce35f67cda1f707f89d;hpb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c diff --git a/src/Animation.hh b/src/Animation.hh index 3875b45..c8cdca8 100644 --- a/src/Animation.hh +++ b/src/Animation.hh @@ -1,13 +1,11 @@ -/*] 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 _ANIMATION_HH_ #define _ANIMATION_HH_ @@ -22,7 +20,6 @@ #include #include -#include class Animation; @@ -35,8 +32,7 @@ typedef boost::shared_ptr AnimationP; * is determined. This class is generic enough that a frame can mean just * about anything to whatever drawing context is used to render the frame. */ - -class Animation : public moof::resource +class Animation { public: @@ -47,13 +43,11 @@ public: return AnimationP(new Animation(name)); } - void startSequence(const std::string& name); void update(moof::scalar t, moof::scalar dt); unsigned getFrame() const; - private: class impl;