OpenMW
|
00001 #ifndef GAME_MWCLASS_STATIC_H 00002 #define GAME_MWCLASS_STATIC_H 00003 00004 #include "../mwworld/class.hpp" 00005 00006 namespace MWClass 00007 { 00008 class Static : public MWWorld::Class 00009 { 00010 virtual MWWorld::Ptr 00011 copyToCellImpl(const MWWorld::Ptr &ptr, MWWorld::CellStore &cell) const; 00012 00013 public: 00014 00015 virtual void insertObjectRendering (const MWWorld::Ptr& ptr, MWRender::RenderingInterface& renderingInterface) const; 00017 00018 virtual void insertObject(const MWWorld::Ptr& ptr, MWWorld::PhysicsSystem& physics) const; 00019 00020 virtual std::string getName (const MWWorld::Ptr& ptr) const; 00023 00024 static void registerSelf(); 00025 00026 virtual std::string getModel(const MWWorld::Ptr &ptr) const; 00027 }; 00028 } 00029 00030 #endif