Class Potion

All Implemented Interfaces:
DefaultRequired

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

    • Potion

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