what is the best design practice for this situation?
Create a class or set of classes in C++ to represent the birds
Create an instance of each type of bird and add them all into a single vector
Have each bird hop and then fly in turn
Don't have a bird perform a movement that it can't perform.
hopping: moves 2 ft
flying: can't fly
hopping: can't hop
flying: moves 100 ft;
hopping: moves 1 ft;
flying: moves 20 ft;
*** This is NOT a homework question. Just curious...