summaryrefslogtreecommitdiff
path: root/src/List.cpp
blob: ec2495c8f1628c8700c4843327ae6938747820f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "List.hpp"

List::List()
{
    for(int i = 0; i < 10; i++)
    {
        Character x ('@',4,150,150+i);
        men.push_back(x);
    } 
}

void List::draw(WINDOW * w)
{
    for(int i = 0; i < 10; i++)
        men[i].draw(w);
}