int main() { Object o1{}; Move m1{}; Display d1{}; o1.add_behaviour(&m1); o1.add_behaviour(&d1); o1.simulate(); o1.simulate(); o1.simulate(); }