void SetObs(int x, int y, int obs)
Changes the obstruction tile index at the given coords to the given obstruction type.
Note: Coordinates are in terms of tiles, not pixels. In order to convert tiles to pixels do: (pixel coordinate / 16).
// Set the obstruction tile at (5, 2) to obstruction tile 1. // Obstruction tile one, is commonly a fully filled 16 x 16 tile, thus preventing // any entry onto that coordinate. SetObs(5, 2, 1);
There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
Your docs |