diff options
author | Tom Barrett <tombarrett@siu.edu> | 2017-03-26 06:46:12 -0500 |
---|---|---|
committer | Tom Barrett <tombarrett@siu.edu> | 2017-03-26 06:46:12 -0500 |
commit | 14c36420a37678b75b30f3b4d1dec7eddb053eef (patch) | |
tree | ece60c7fa781d9a5001454d30dec38772b2dc9bf /src/main.cpp | |
parent | 3b3df333974f337fcb506f37a06ea0e89c14b4b0 (diff) |
-plants do not reproduce yet, this is needed
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index cacd612..d42ca9d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -46,11 +46,8 @@ int main() shader.Bind();
_spriteBatch.begin();
-
- for(std::list<Organism>::iterator it = L.creatures.begin(); it != L.creatures.end(); it++)
- _spriteBatch.draw(it->getRectangle(),it->getVisuals());
- for(std::list<Organism>::iterator it = L.resources.begin(); it != L.resources.end(); it++)
+ for(std::list<Organism>::iterator it = L.organisms.begin(); it != L.organisms.end(); it++)
_spriteBatch.draw(it->getRectangle(),it->getVisuals());
_spriteBatch.end();
|