1 #ifndef MSP_GAME_MESHSOURCE_H_
2 #define MSP_GAME_MESHSOURCE_H_
4 #include <msp/datafile/objectloader.h>
5 #include <msp/game/setups.h>
7 #include "mspgame_api.h"
11 class MSPGAME_API MeshSource: public Component
14 using Setup = MeshSourceSetup;
20 MeshSource(Handle<Entity> e, const Setup &s): Component(e), setup(s) { }
22 const std::string &get_object_name() const { return setup.object_name; }
25 } // namespace Msp::Game