From 0649af210afa6e7da051d655c3b28a7cd3b9ebc6 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 22 Jul 2017 09:07:05 -0400 Subject: variable background layers --- include/texture.hpp | 3 +++ include/world.hpp | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/texture.hpp b/include/texture.hpp index 0684cb7..9531d9d 100644 --- a/include/texture.hpp +++ b/include/texture.hpp @@ -159,6 +159,9 @@ public: */ inline const vec2& getTextureDim(void) { return position->getDim(); } + + inline unsigned int size(void) + { return textures.size(); } }; /** diff --git a/include/world.hpp b/include/world.hpp index bfd0464..a7096a8 100644 --- a/include/world.hpp +++ b/include/world.hpp @@ -116,11 +116,6 @@ private: static Mix_Music *bgmObj; static std::string bgmCurrent; - /** - * Paths of files to get stylized textures from. - */ - static std::vector bgFiles; - /** * Allows for iteration between background textures, for rendering. */ -- cgit v1.2.3