| 72 | } |
| 73 | |
| 74 | List<CompanionPtr> PlayerCompanions::getCompanions(String const& category) const { |
| 75 | if (m_companions.contains(category)) |
| 76 | return m_companions.get(category); |
| 77 | return {}; |
| 78 | } |
| 79 | |
| 80 | void PlayerCompanions::init(Entity* player, World* world) { |
| 81 | m_world = world; |