| 94 | } |
| 95 | |
| 96 | Handle::EntityHandle VobTypes::createSound(World::WorldInstance& world) |
| 97 | { |
| 98 | Handle::EntityHandle e = Vob::constructVob(world); |
| 99 | |
| 100 | // Setup controller |
| 101 | Components::LogicComponent& logic = world.getEntity<Components::LogicComponent>(e); |
| 102 | logic.m_pLogicController = new Logic::SoundController(world, e); |
| 103 | |
| 104 | return e; |
| 105 | } |
| 106 | |
| 107 | |
| 108 | Handle::EntityHandle VobTypes::createMusic(World::WorldInstance& world) { |
nothing calls this directly
no outgoing calls
no test coverage detected