Subversion Repositories sssnakesss

Rev

Rev 9 | Rev 11 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
10 tom 1
#include <vector>
2
 
3
using namespace std;
4
 
5
#include "point.hpp"
9 freddie 6
#include "snake.hpp"
7
 
10 tom 8
Snake::Snake()
9 freddie 9
{
10 tom 10
}
11
 
12
void Snake::nextPoint(Point newPoint)
13
{
14
    points.push_back(newPoint);
15
}