MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / Enter

Method Enter

src/SB/Game/zNPCTypePrawn.cpp:988–995  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

986}
987
988S32 zNPCGoalPrawnIdle::Enter(float dt, void* updCtxt)
989{
990 zNPCPrawn& prawn = *((zNPCPrawn*)this->psyche->clt_owner);
991 prawn.face_player = 1;
992 prawn.delay = 0;
993 prawn.set_floor_state(prawn.FS_DANGER, false, false);
994 return zNPCGoalCommon::Enter(dt, updCtxt);
995}
996
997S32 zNPCGoalPrawnIdle::Exit(float dt, void* updCtxt)
998{

Callers

nothing calls this directly

Calls 3

set_floor_stateMethod · 0.80
EnterFunction · 0.50
decomposeMethod · 0.45

Tested by

no test coverage detected