1 Antwort
+ 1
There it first implemented a single class GameObject and next it is inherited into another class Gabbine. So combine 2 codes into one, and run to see output.
read lesson again for explanations..
first code works fine but accepting infinite inputs..
next code extended version of adding 2 classes to first and a examine function added. you need combine these two. third one is improved class of Gabbine class with added functions of prevoius one...