From 77be863f4f15d2481a64e4e8dadb4060a6e4e590 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 11 Feb 2018 12:34:52 -0500 Subject: Implemented map rendering and basic collision Only wall and platform collision currently works, and map edges are not currently implemented. --- src/systems/mapping.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/systems/mapping.h (limited to 'src/systems/mapping.h') diff --git a/src/systems/mapping.h b/src/systems/mapping.h new file mode 100644 index 0000000..53d054b --- /dev/null +++ b/src/systems/mapping.h @@ -0,0 +1,19 @@ +#ifndef MAPPING_H_33FC2294 +#define MAPPING_H_33FC2294 + +#include "system.h" + +class MappingSystem : public System { +public: + + MappingSystem(Game& game) : System(game) + { + } + + void render(Texture& texture); + + void loadMap(size_t mapId); + +}; + +#endif /* end of include guard: MAPPING_H_33FC2294 */ -- cgit 1.4.1