|
| | WALL (int x, int y, int width, int height, const std::string &id, bool kill) |
| |
| void | render (std::shared_ptr< SDL_Renderer > renderer, SDL_Color color1, SDL_Color color2) override |
| | Renders the object on the screen.
|
| |
| void | handleCollisions (point collision) override |
| | Handles collisions with other objects.
|
| |
| | CollidingObject (int x, int y, int radius, const std::string &id) |
| | Constructs a new CollidingObject with a circular collider.
|
| |
| | CollidingObject (int x, int y, int width, int height, const std::string &id) |
| | Constructs a new CollidingObject with a rectangular collider.
|
| |
| | CollidingObject (int x, int y, int width, int height, bool isTop, const std::string &id) |
| | Constructs a new CollidingObject with a triangular collider.
|
| |
| | CollidingObject (int x, int y, int width, int height, int edges, const std::string &id) |
| | Constructs a new CollidingObject with a hexagonal collider.
|
| |
| std::shared_ptr< Collider > | getCollider () |
| | Gets the collider associated with the object.
|
| |
| virtual void | handleCollisions (point collision)=0 |
| | Handles collisions with other objects.
|
| |
| virtual void | render (std::shared_ptr< SDL_Renderer > renderer, SDL_Color color1, SDL_Color color2)=0 |
| | Renders the object on the screen.
|
| |
Definition at line 18 of file WALL.h.