MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / ShieldClass

Method ShieldClass

src/New/Entity/ShieldClass.cpp:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15std::vector<ShieldClass*> ShieldClass::Array;
16
17ShieldClass::ShieldClass()
18 : Techno { nullptr }
19 , HP { 0 }
20 , Timers { }
21 , AreAnimsHidden { false }
22{
23 ShieldClass::Array.emplace_back(this);
24}
25
26ShieldClass::ShieldClass(TechnoClass* pTechno, bool isAttached)
27 : Techno { pTechno }

Callers

nothing calls this directly

Calls 4

UpdateTypeMethod · 0.95
SetHPMethod · 0.95
GetTechnoTypeMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected