Possible Duplicate:
Difference between private, public and protected inheritance in C++
One of the examples in my lecture notes is
class TransportShip : public GameUnit {
int capacity;
public:
...
}
Why do we need the "public" modifier before the name of the base class? What would it mean if it wasn't there?