Class Item

All Implemented Interfaces:
DefaultRequired

public class Item extends Kit
Represents a Kit class
  • Constructor Details

    • Item

      public Item(String type, int x_index, int y_index)
      Constructs a new Item object with the specified attributes.
      Parameters:
      type - the type of the item
      x_index - the x-coordinate of the item's position
      y_index - the y-coordinate of the item's position