X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FTitleLayer.hh;fp=src%2FTitleLayer.hh;h=0000000000000000000000000000000000000000;hp=be8aba131033b99519818e6de46218fb05d57e00;hb=af88821a172c4dfd138b91b2a5148ae50b502fa2;hpb=d6990468d297a6cbee98e4d0d33ab37e1b2352c9 diff --git a/src/TitleLayer.hh b/src/TitleLayer.hh deleted file mode 100644 index be8aba1..0000000 --- a/src/TitleLayer.hh +++ /dev/null @@ -1,48 +0,0 @@ - -/*] Copyright (c) 2009-2010, 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 _TITLELAYER_HH_ -#define _TITLELAYER_HH_ - -#include - -#include -#include -#include - - -class TitleLayer; -typedef boost::shared_ptr TitleLayerP; - -class TitleLayer : public moof::view -{ -public: - - static TitleLayerP alloc() - { - return TitleLayerP(new TitleLayer); - } - - void did_add_to_view(); - - void update(moof::scalar t, moof::scalar dt); - void draw(moof::scalar alpha) const; - bool handle_event(const moof::event& event); - -private: - - moof::lerp_scalar mFadeIn; - moof::view_ptr mGameLayer; -}; - - -#endif // _TITLELAYER_HH_ -