Class Items

Object
Items

public class Items extends Object
Can create and remove items. For retrieval of items, let me refer you back to the containers, Person, Item and Room.
Author:
maartenl
  • Constructor Details

  • Method Details

    • createItem

      public Item createItem(int itemdefnr)
      Creates an item based on an item definition number.
      Parameters:
      itemdefnr - the item definition number
      Returns:
      the new item or null if unable to comply.