-
Notifications
You must be signed in to change notification settings - Fork 1
Map_element
fgrimau edited this page Dec 28, 2019
·
10 revisions
A 'Super' class, defining the base for each element of the map (Ground, wall, ...)
MapElement()- [
MapElement(const MapElement&)](https://github.com/fgrimau/fuzzy-waddle/wiki/MapElement::MapElement(const MapElement&);) ~MapElement()
- [
MapElement& operator=(const MapElement&)](https://github.com/fgrimau/fuzzy-waddle/wiki/MapElement::MapElement& operator=(const MapElement&);)
- [
bool get_accessibility(int) const](https://github.com/fgrimau/fuzzy-waddle/wiki/MapElement::get_accessibility(int) const;) - [
SDL_Rect get_rect() const](https://github.com/fgrimau/fuzzy-waddle/wiki/MapElement::get_rect() const;)
- [
void set_accessibility(int, bool) const](https://github.com/fgrimau/fuzzy-waddle/wiki/MapElement::set_accessibility(int, bool) const;) void set_rect(SDL_Rect)- [
void set_rect(int, int, int, int)](https://github.com/fgrimau/fuzzy-waddle/wiki/MapElement::set_rect(int, int, int, int);)
- [
int draw(Screen*, int, int)](https://github.com/fgrimau/fuzzy-waddle/wiki/MapElement::draw(Screen*, int, int);) - [
int draw(Screen*, SDL_Rect)](https://github.com/fgrimau/fuzzy-waddle/wiki/MapElement::draw(Screen*, SDL_Rect);) SDL_Rect* m_image_rectbool m_accessibility[4]