Heya all,
Right now, i'm working on a small, text-based game, but i'm a bit confused about how to get my coupeling right.
at the moment, i have 5 classes: an Item class, an inventory, a player, a room and a 'game' class that loads the game.
The game class has 1 player and a few rooms, the player and every room have an inventory and an inventory stores items.
when the game loads, the game class adds multipl items to the rooms and player, but i'm wondering where i should define my items.
If i create the items in my game class, would the coupeling get loose since an Item passes through a lot of other classes, or should i pass the item's parameters along to inventory class, through the player/room classes?