* Check that the given coordinate is within world bounds * @param wx World x coordinate * @param wy World y coordinate * @return Boolean indicating (wx, wy) is inside the world bounds */
| 2562 | * @return Boolean indicating (wx, wy) is inside the world bounds |
| 2563 | */ |
| 2564 | static inline bool testBounds(int wx, int wy) |
| 2565 | { |
| 2566 | return (wx >= 0 && wx < WORLD_W && wy >= 0 && wy < WORLD_H); |
| 2567 | }; |
| 2568 | |
| 2569 | void spend(int dollars); |
| 2570 |
no outgoing calls
no test coverage detected