class Positie; class Interface; #ifndef Robot_H #define Robot_H class Robot{ private: Interface *P; //Positie *P = dynamic_cast(I); public: Robot (Interface*); virtual ~Robot(); void run(); void show(); }; #endif