}
})
-DefineSequence("FlyStraightUp",
+DefineSequence("FlyHorizontally",
{
class = FLY,
frames = {
-struct Character;
+class Character;
typedef boost::shared_ptr<Character> CharacterP;
#include "Character.hh"
-struct Heroine;
+class Heroine;
typedef boost::shared_ptr<Heroine> HeroineP;
typedef boost::shared_ptr<Script> ScriptP;
-struct Script
+class Script
{
+public:
+
typedef boost::function<int(Script&)> Function;
enum Type
lua_gc(mState, LUA_GCSETSTEPMUL, step);
}
+
private:
Script(lua_State* state) :
class TitleLayer;
typedef boost::shared_ptr<TitleLayer> TitleLayerP;
-struct TitleLayer : public Mf::Layer
+class TitleLayer : public Mf::Layer
{
+public:
+
static TitleLayerP alloc()
{
return TitleLayerP(new TitleLayer);