Class BasicHorizontalTree
java.lang.Object
studio.magemonkey.fabled.tree.SkillTree
studio.magemonkey.fabled.tree.basic.InventoryTree
studio.magemonkey.fabled.tree.basic.BasicHorizontalTree
A basic implementation of a horizontally ascending skill tree
-
Field Summary
Fields inherited from class studio.magemonkey.fabled.tree.basic.InventoryTree
comparator, height, skillSlots
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class studio.magemonkey.fabled.tree.basic.InventoryTree
arrange, checkClick, getHeight, getInventory, getSkill, getSkillSlots, hasSkill, isSkill, show, update
-
Constructor Details
-
BasicHorizontalTree
Constructor- Parameters:
api
- api referencetree
- class reference
-
-
Method Details
-
arrange
Arranges the skill tree- Specified by:
arrange
in classSkillTree
- Parameters:
skills
- skills to arrange- Throws:
SkillTreeException
-