#pragma once #include "..\munga\registry.h" //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Registry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // //-------------------------------------------------------------------- // Registry // // Provides construction methods for entities. // Provides access to a classes static data. //-------------------------------------------------------------------- // class RPRegistry : public Registry { public: // //-------------------------------------------------------------------- //-------------------------------------------------------------------- // Public interface //-------------------------------------------------------------------- //-------------------------------------------------------------------- // // //-------------------------------------------------------------------- // Construction, Destruction, and testing //-------------------------------------------------------------------- // RPRegistry(ResourceFile *resources); ~RPRegistry(); // //-------------------------------------------------------------- // GetStaticData // // Provides an interface by which the static data for a class // may be accessed. //-------------------------------------------------------------- // Entity__SharedData* GetStaticData(ClassID entity_class); // //------------------------- // Create the player object //------------------------- // Player* MakePlayer(Mission *mission); };