wall.h 417 B

12345678910111213
  1. #ifndef WALL_H
  2. #define WALL_H
  3. #include "stdlib.h"
  4. #include "struct.h"
  5. #include "MonochromeLib.h"
  6. #include "math.h"
  7. Wall *addWall(Wall *list, int d, int h, int id, int line);//returns a new pointer to the first element
  8. Wall *removeWall(Wall *list, int id); //returns a new pointer to the first element
  9. void show(Wall *list, Camera *cam);
  10. void update(Wall *list);
  11. bool isColliding(Wall *list, int player_angle);
  12. #endif