/*] 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 _MOOF_LAYER_HH_ #define _MOOF_LAYER_HH_ #include #include #include namespace Mf { class Layer { public: virtual ~Layer() {} virtual void addedToCore() {} virtual void removedFromCore() {} virtual void update(Scalar t, Scalar dt) {} virtual void draw(Scalar alpha) const {} virtual bool handleEvent(const Event& event) { return false; } }; typedef boost::shared_ptr LayerP; } // namespace Mf #endif // _MOOF_LAYER_HH_