Class TowerStorage

java.lang.Object
it.polimi.ingsw.Model.TowerStorage
All Implemented Interfaces:
Serializable

public class TowerStorage extends Object implements Serializable
A container for a set of Towers of the same TowerColour
See Also:
  • Field Details

  • Constructor Details

    • TowerStorage

      public TowerStorage(TowerColour colour, int amount)
      Creates the storage and fills it up with towers
      Parameters:
      colour - the colour of the towers in storage
      amount - how many towers will be added to the storage
  • Method Details