Hi,
I am finally starting to get to grips with OOP and i have been trying to structure real life situations into classes and objects and the relationship between them.
Can someone please give me an insight into how i may design a class Human in a game that can pick up other classes such as food or a key for example.
The problem i am having is what to put into
private:
Before the game starts i have no idea what the object human will carry.
What subject do i need to research to do the above?
Thanks
Mark S.