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

Method flee

source/entities/Creature.cpp:3201–3206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3199}
3200
3201void Creature::flee()
3202{
3203 clearDestinations(EntityAnimation::idle_anim, true, true);
3204 clearActionQueue();
3205 pushAction(Utils::make_unique<CreatureActionFlee>(*this));
3206}
3207
3208void Creature::sleep()
3209{

Callers 2

processBehaviourMethod · 0.80
processBehaviourMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected