(int x, int y)
| 47 | } |
| 48 | |
| 49 | protected final int getChar(int x, int y) |
| 50 | { |
| 51 | int xpos = x / 16; |
| 52 | int ypos = y / 16; |
| 53 | if (city.testBounds(xpos, ypos)) { |
| 54 | return city.getTile(xpos, ypos); |
| 55 | } else { |
| 56 | return -1; |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * For subclasses to override. Actually does the movement and animation |
no test coverage detected