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

Method notifyFightPlayer

source/entities/GameEntity.cpp:613–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611}
612
613void GameEntity::notifyFightPlayer(Tile* tile)
614{
615 getGameMap()->playerIsFighting(getSeat()->getPlayer(), tile);
616}
617
618void GameEntity::setParentNodeDetachFlags(uint32_t mask, bool value)
619{

Callers 5

shootMethod · 0.80
hitCreatureMethod · 0.80
hitCreatureMethod · 0.80
hitTargetEntityMethod · 0.80
tryUseFightMethod · 0.80

Calls 2

playerIsFightingMethod · 0.80
getPlayerMethod · 0.45

Tested by

no test coverage detected