java.lang.Object
com.example.project.services.shopItems.UpgradeTiles
Static class to store all the possible upgrade tiles available in the game.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UpgradeTile
Gets random upgrade tile.static UpgradeTile
getTile
(int index) Gets the upgrade tile at index.
-
Constructor Details
-
UpgradeTiles
public UpgradeTiles()
-
-
Method Details
-
getRandomUpgradeTile
Gets random upgrade tile.- Returns:
- returns upgrade tile.
-
getTile
Gets the upgrade tile at index.- Parameters:
index
- tile to get.- Returns:
- an upgrade tile model.
-