#include "terminal.h" #include "wabbit.h" #include "grandchild.h" #include using namespace std; int main() { terminal t; t.clear(); vector things; things.push_back(new rabbit(t, 10, 5)); things.push_back(new wolf(t, 12, 7)); things.push_back(new boulder(t, 14, 8)); things.push_back(new landmine(t, 16, 9)); while (true) { for (auto w : things) w->move(); t.refresh(); t.pause(); } return 0; }