#ifndef ASCIIROAD_VEHICLE_H #define ASCIIROAD_VEHICLE_H class GameWorld; class Vehicle { int type; int pos_y, pos_x; public: Vehicle(int a_type, int a_y, int a_x) : type(a_type), pos_y(a_y), pos_x(a_x) { } ~Vehicle() { } bool MoveRight(GameWorld *world); /* return false if not draw anything */ }; struct ll_vehicle { Vehicle *data; struct ll_vehicle *next; ll_vehicle(Vehicle *a_data, struct ll_vehicle *a_ptr) : data(a_data), next(a_ptr) { } }; #endif /* ASCIIROAD_VEHICLE_H */