module EntityConstants
Constants
- CELL_WIDTH_IN_PIXELS
All our drawings are 40x40
- MAX_VELOCITY
Maximum velocity is just shy of a full cell per tick, which is a lot
- PIXEL_WIDTH
We track entities at a resolution higher than pixels, called “subpixels” This is the smallest detectable motion, 1 /
PIXEL_WIDTH
of a pixel- WIDTH
The dimensions of a cell, equals the dimensions of an entity