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

Method importFromStream

source/entities/ChickenEntity.cpp:317–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317bool ChickenEntity::importFromStream(std::istream& is)
318{
319 if(!RenderedMovableEntity::importFromStream(is))
320 return false;
321 if(!(is >> mPosition.x >> mPosition.y >> mPosition.z))
322 return false;
323
324 return true;
325}
326
327std::string ChickenEntity::getChickenEntityStreamFormat()
328{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected