graphics.h 527 B

1234567891011121314151617181920212223
  1. /**
  2. * @file graphics.h
  3. * @brief drawing objects
  4. */
  5. /**
  6. * @def GRAPHICS_H
  7. */
  8. #include <asteroid.h>
  9. #include <spaceship.h>
  10. #ifndef GRAPHICS_H
  11. #define GRAPHICS_H
  12. /**
  13. * @fn void asteroid_draw(Asteroid *a) - draws an asteroid with it's sx, sy, scale and twist.
  14. * @param a - pointer to Asteroid to draw
  15. */
  16. void asteroid_draw(Asteroid *a);
  17. /**
  18. * @fn void asteroid_draw(Asteroid *a) - draw ship with it's sx, sy, twist values.
  19. * @param s - pointer to spaceship to draw
  20. */
  21. void ship_draw(Spaceship *s);
  22. #endif /*GRAPHICS_H*/