MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / isPositiveTo

Method isPositiveTo

game/state/shared/organisation.cpp:815–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813}
814
815bool Organisation::isPositiveTo(const StateRef<Organisation> &other) const
816{
817 float x = this->getRelationTo(other);
818 return x >= 0;
819}
820
821bool Organisation::isNegativeTo(const StateRef<Organisation> &other) const
822{

Callers

nothing calls this directly

Calls 1

getRelationToMethod · 0.95

Tested by

no test coverage detected