MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Set

Method Set

Source/Position.hpp:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 cPosition( unsigned int pX, unsigned int pY ) : mX( pX ), mY( pY ) {}
30
31 void Set( unsigned int pX, unsigned int pY ) { mX = pX; mY = pY; }
32 void Clear() { mX = 0; mY = 0; }
33
34 int distanceTo(const cPosition& pPosition) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected