My Project
 All Classes
Public Member Functions | List of all members
Snake Class Reference

Public Member Functions

 Snake (int width, int height, int start_width, int start_height, unsigned int length)
void setDir (int direction)
int getDir ()
unsigned int getLength ()
Koord getPosAt (unsigned int p)
Koord step ()
void turn (int direction)
void turnRight ()
void turnLeft ()
Koord getHypotStep ()
void cutAt (int p)
std::vector< KoordcutAndTurnAround ()
std::vector< KoordcutAndTurnAround (int amount)
void addChunks (int amount)
std::vector< Koordcut (unsigned int amount)
int getChunks ()

The documentation for this class was generated from the following files: