MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getFlags

Method getFlags

src/Savegame/Node.h:80–80  ·  view source on GitHub ↗

gets "flags" variable, which is really the patrolling desirability value

Source from the content-addressed store, hash-verified

78 void setType(int type);
79 /// gets "flags" variable, which is really the patrolling desirability value
80 int getFlags() { return _flags; }
81 /// compares the _flags variables of the nodes (for the purpose of patrol decisions!)
82 bool operator<(Node &b) { return _flags < b.getFlags(); };
83 bool isAllocated() const;

Callers 2

getPatrolNodeMethod · 0.80
operator<Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected