| 144 | } |
| 145 | |
| 146 | void Vehicle::diskLoad(Json diskStore) { |
| 147 | m_movementController.loadState(diskStore.get("movement")); |
| 148 | m_damageTeam.set(EntityDamageTeam(diskStore.get("damageTeam"))); |
| 149 | setPersistent(diskStore.getBool("persistent")); |
| 150 | m_scriptComponent.setScriptStorage(diskStore.getObject("scriptStorage")); |
| 151 | } |
| 152 | |
| 153 | EntityType Vehicle::entityType() const { |
| 154 | return EntityType::Vehicle; |
nothing calls this directly
no test coverage detected