| 123456789101112131415161718192021222324 |
- package cz.davza.studentadventure.objects;
- import cz.davza.studentadventure.base.ItemCollectionBase;
- import cz.davza.studentadventure.interfaces.IItem;
- /**
- * A fixed-size item collection representing the items present in a room.
- *
- * <p>Thin concrete subclass of {@link ItemCollectionBase} — all behaviour is
- * inherited. The capacity passed to the constructor determines how many bulk
- * units of items the room can hold at once.</p>
- *
- * @see ItemCollectionBase
- * @see cz.davza.studentadventure.base.RoomBase
- */
- public class RoomItems extends ItemCollectionBase<IItem> {
- /**
- * Creates a new room item collection with the given bulk capacity.
- *
- * @param size the total bulk capacity of this room's item storage
- */
- public RoomItems(int size) {
- super(size);
- }
- }
|