MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / SetHitEffect

Method SetHitEffect

TombEngine/Game/Setup.cpp:134–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void ObjectInfo::SetHitEffect(HitEffect hitEffect)
135{
136 this->hitEffect = hitEffect;
137}
138
139// NOTE: Use if object is alive, but not intelligent, to set up blood effects.
140void ObjectInfo::SetHitEffect(bool isSolid, bool isAlive)

Callers 15

StartEntityFunction · 0.80
StartTrapFunction · 0.80
StartVehiclesFunction · 0.80
InitSmashObjectFunction · 0.80
InitKeyHoleFunction · 0.80
InitPuzzleHoleFunction · 0.80
InitPuzzleDoneFunction · 0.80
InitAnimatingFunction · 0.80
InitPickupFunction · 0.80
InitPushableObjectFunction · 0.80
StartEntityFunction · 0.80
StartObjectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected