MCPcopy Create free account
hub / github.com/crossuo/crossuo / Select

Method Select

src/Sprite.cpp:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72bool CSprite::Select(int x, int y, bool pixelCheck)
73{
74 x = g_MouseManager.Position.X - x;
75 y = g_MouseManager.Position.Y - y;
76 return TestHit(x, y, pixelCheck);
77}
78
79bool CSprite::TestHit(int x, int y, bool pixelCheck)
80{

Callers 5

ServerSelectionMethod · 0.45
GumpPixelsInXYMethod · 0.45
StaticPixelsInXYMethod · 0.45
LandPixelsInXYMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected