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

Method sleep

source/entities/Creature.cpp:3208–3213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3206}
3207
3208void Creature::sleep()
3209{
3210 clearDestinations(EntityAnimation::idle_anim, true, true);
3211 clearActionQueue();
3212 pushAction(Utils::make_unique<CreatureActionSleep>(*this));
3213}
3214
3215void Creature::leaveDungeon()
3216{

Callers 2

processBehaviourMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected