diff options
author | tom <tom@ground-control> | 2015-11-19 17:38:17 -0600 |
---|---|---|
committer | tom <tom@ground-control> | 2015-11-19 17:38:17 -0600 |
commit | b4bf156884f71bec9fa526e80e1d1db43e7650b2 (patch) | |
tree | 0970f27373408474cf7979c40e2ee4574fb38e3d /src/List.cpp | |
parent | ba71810fab85da23ec8501af6d5d4935458b595e (diff) |
line of guys now appears near middle of map
Diffstat (limited to 'src/List.cpp')
-rw-r--r-- | src/List.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/List.cpp b/src/List.cpp new file mode 100644 index 0000000..ce206c5 --- /dev/null +++ b/src/List.cpp @@ -0,0 +1,16 @@ +#include "List.hpp" + +List::List() +{ + for(int i = 0; i < 10; i++) + { + Character x ('@',3,150,150+i); + men.push_back(x); + } +} + +void List::draw(WINDOW * w) +{ + for(int i = 0; i < 10; i++) + men[i].draw(w); +} |