Class_Block - GensokyoGears/itemsets GitHub Wiki

Block.java

This class describes our Block object.
The object consists of following parameters:

  • String type - name of the block
  • Boolean recMath - defines the usage of tutorial formatting
  • Integer minSummonerLevel - minimum summoner level to view the ItemSet in game
  • Integer maxSummonerLevel - maximum summoner level to view the ItemSet in game
  • String showIfSummonerSpell - displays ItemSet if summoner spell is chosen
  • String hideIfSummonerSpell - hides ItemSet if summoner spell is chosen
  • List items - list of items in the block

The class also contains basic constructor:
public Block(String type, Boolean recMath, Integer minSummonerLevel, Integer maxSummonerLevel, String showIfSummonerSpell, String hideIfSummonerSpell, List items)
{ super();
this.type = type;
this.recMath = recMath;
this.minSummonerLevel = minSummonerLevel;
this.maxSummonerLevel = maxSummonerLevel;
this.showIfSummonerSpell = showIfSummonerSpell;
this.hideIfSummonerSpell = hideIfSummonerSpell;
this.items = items; }

and of course getters and setters.