MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / importFromStream

Method importFromStream

source/entities/MissileBoulder.cpp:99–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99bool MissileBoulder::importFromStream(std::istream& is)
100{
101 if(!MissileObject::importFromStream(is))
102 return false;
103 if(!(is >> mDamage))
104 return false;
105 if(!(is >> mNbHits))
106 return false;
107
108 return true;
109}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected