* Assigns a unique ID to this mission. * It is an error to assign two IDs to the same mission. * @param id The UD to assign. */
| 567 | * @param id The UD to assign. |
| 568 | */ |
| 569 | void AlienMission::setId(int id) |
| 570 | { |
| 571 | assert(_uniqueID == 0 && "Reassigning ID!"); |
| 572 | _uniqueID = id; |
| 573 | } |
| 574 | |
| 575 | /** |
| 576 | * @return The unique ID assigned to this mission. |
no outgoing calls
no test coverage detected