MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SensorDelete

Method SensorDelete

engine/Poseidon/AI/ArcadeTemplateFind.cpp:577–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575}
576
577void ArcadeTemplate::SensorDelete(int ig, int index)
578{
579 if (ig < 0)
580 {
581 sensors.Delete(index);
582 }
583 else
584 {
585 ArcadeGroupInfo& gInfo = groups[ig];
586 gInfo.sensors.Delete(index);
587 }
588}
589
590bool ArcadeTemplate::SensorChangePosition(int ig, int index, Vector3Val pos)
591{

Callers 1

OnKeyDownMethod · 0.80

Calls 1

DeleteMethod · 0.45

Tested by

no test coverage detected