MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / canOwnedCreatureBePickedUpBy

Method canOwnedCreatureBePickedUpBy

source/game/Seat.cpp:190–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190bool Seat::canOwnedCreatureBePickedUpBy(const Seat* seat) const
191{
192 // Note : if we want to allow players to pickup allied creatures, we can do that here.
193 if(this == seat)
194 return true;
195
196 return false;
197}
198
199bool Seat::canOwnedTileBeClaimedBy(const Seat* seat) const
200{

Callers 2

tryPickupMethod · 0.80
fillWithEntitiesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected