Pointer
class Pointer
One pointer — a mouse or a touch contact — in CGA model units.
The position converts at the event boundary through the same fit-scale mapping the draw pass uses, so game code never sees pixels. isDown is level state; wasPressed and wasReleased are latched edges — Input carries the latching contract. All four properties are independent facts: a complete click within one frame reads isDown = false, wasPressed = true, wasReleased = true.