| 32 | } |
| 33 | |
| 34 | Point worldToTile(Vector2 position, Vector2 size) { |
| 35 | return Point((int)(position.x / size.x), (int)(position.y / size.y)); |
| 36 | } |
| 37 | |
| 38 | bool isInRange(int x, int min, int max) { return (x >= min && x <= max); } |
| 39 |
no test coverage detected