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

Method decreaseJobCooldown

source/entities/Creature.h:367–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365 mWakefulness = 0.0;
366 }
367 inline bool decreaseJobCooldown()
368 {
369 if(mJobCooldown <= 0)
370 return true;
371
372 --mJobCooldown;
373 return false;
374 }
375 void setJobCooldown(int val);
376
377 inline void foodEaten(double val)

Callers 2

handleJobMethod · 0.80
handleEatChickenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected