diff options
author | majortom6 <tombarrett@siu.edu> | 2017-02-19 10:41:00 -0600 |
---|---|---|
committer | Tom Barrett <tombarrett@siu.edu> | 2017-03-07 13:23:41 -0600 |
commit | fcf6abaccec7c7ed2fd306a9cf1ec378f303297c (patch) | |
tree | 75d4df2b09346014e4784c2b597f0110a6b82e5b /src/main.cpp | |
parent | 5c46e0f0a924989201c6784b0f956bc442f14a7e (diff) |
-refractoring of includes
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index c7ce9e7..1033651 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -54,10 +54,10 @@ int main() shader.Bind();
_spriteBatch.begin();
- for(std::list<Creature>::iterator it = L.C.begin(); it != L.C.end(); it++)
+ for(std::list<Creature>::iterator it = L.creatures.begin(); it != L.creatures.end(); it++)
_spriteBatch.draw(it->getGFXD());;
- for(std::list<Resource>::iterator it = L.R.begin(); it != L.R.end(); it++)
+ for(std::list<Resource>::iterator it = L.resources.begin(); it != L.resources.end(); it++)
_spriteBatch.draw(it->getGFXD());;
_spriteBatch.end();
|