Jamie Slowgrove - AI Assignment 1
Line of Sight & A* path-finding
|
Creates a Wall object that inherits Entity. Creates a Wall object that inherits Entity and contains the details for the Wall. More...
#include <wall.h>
Public Member Functions | |
Wall (Texture *, Vec2, int, int) | |
~Wall () | |
Public Member Functions inherited from Entity | |
Entity (Texture *, Vec2, Vec2, int, int, int, int) | |
~Entity () | |
void | display (SDL_Renderer *) |
void | setPosition (Vec2) |
Vec2 | getPosition () |
int | getWidth () |
int | getHeight () |
Additional Inherited Members | |
Protected Attributes inherited from Entity | |
Vec2 | position |
Vec2 | source |
int | spriteWidth |
int | spriteHeight |
int | width |
int | height |
Texture * | texture |
Creates a Wall object that inherits Entity. Creates a Wall object that inherits Entity and contains the details for the Wall.
Wall::~Wall | ( | ) |
Destructs the Creature object