aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk6/lab5/Bug.cpp
blob: 337e84b43c1d84d3a1f040c79c43f502ff5b5efd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "Bug.hpp"

int main() {
  Bug buggy(10);
  buggy.display();
  buggy.move();
  buggy.display();
  buggy.turn();
  buggy.display();
  buggy.move();
  buggy.display();
}