Revision 345
reorganizing
ent.h | ||
---|---|---|
329 | 329 |
typedef struct map map_t; |
330 | 330 |
/** |
331 | 331 |
* @brief Construct map. |
332 |
* @param backgroup XPM describing map as it should be rendered
|
|
332 |
* @param background XPM describing map as it should be rendered
|
|
333 | 333 |
* @param collide XPM with transparency describing what parts of the map will cause collision |
334 | 334 |
* @return Pointer to constructed map, or NULL if failed |
335 | 335 |
*/ |
... | ... | |
382 | 382 |
void (map_draw)(map_t *p); |
383 | 383 |
/** |
384 | 384 |
* @brief Evaluate if point collides with map. |
385 |
* @param p Pointer to map |
|
385 | 386 |
* @param x X-position of the point |
386 | 387 |
* @param y Y-position of the point |
387 | 388 |
* @return true if the point collides with the map, false otherwise |
Also available in: Unified diff