19 #ifndef OPENXCOM_SOLDIERDEATH_H
20 #define OPENXCOM_SOLDIERDEATH_H
22 #include <yaml-cpp/yaml.h>
43 void load(
const YAML::Node& node);
45 YAML::Node
save()
const;
void load(const YAML::Node &node)
Loads the death from YAML.
Definition: SoldierDeath.cpp:39
YAML::Node save() const
Saves the death to YAML.
Definition: SoldierDeath.cpp:48
Stores info about a soldier's death.
Definition: SoldierDeath.h:33
const GameTime * getTime() const
Gets the death time.
Definition: SoldierDeath.cpp:59
void setTime(GameTime time)
Sets the death time.
Definition: SoldierDeath.cpp:68
~SoldierDeath()
Cleans up the death.
Definition: SoldierDeath.cpp:31
Stores the current ingame time/date according to GMT.
Definition: GameTime.h:40
SoldierDeath()
Creates a death.
Definition: SoldierDeath.cpp:27