]>
Dogcows Code - chaz/yoink/blob - src/TitleLayer.hh
2 /*] Copyright (c) 2009-2010, Charles McGarvey [**************************
3 **] All rights reserved.
7 * Distributable under the terms and conditions of the 2-clause BSD license;
8 * see the file COPYING for a complete text of the license.
10 **************************************************************************/
12 #ifndef _TITLELAYER_HH_
13 #define _TITLELAYER_HH_
15 #include <boost/shared_ptr.hpp>
17 #include <moof/interpolator.hh>
18 #include <moof/math.hh>
19 #include <moof/view.hh>
23 typedef boost::shared_ptr
<TitleLayer
> TitleLayerP
;
25 class TitleLayer
: public moof::view
29 static TitleLayerP
alloc()
31 return TitleLayerP(new TitleLayer
);
34 void did_add_to_view();
36 void update(moof::scalar t
, moof::scalar dt
);
37 void draw(moof::scalar alpha
) const;
38 bool handle_event(const moof::event
& event
);
42 moof::lerp_scalar mFadeIn
;
43 moof::view_ptr mGameLayer
;
47 #endif // _TITLELAYER_HH_
This page took 0.035854 seconds and 4 git commands to generate.