diff --git a/Documentations/Diagramme sans nom.drawio.svg b/Documentations/Diagramme sans nom.drawio.svg new file mode 100644 index 0000000..e0254bf --- /dev/null +++ b/Documentations/Diagramme sans nom.drawio.svg @@ -0,0 +1,4 @@ + + + +
Boss
Boss
name: String
name: String
life: Int
life: Int
maxLife: Int
maxLife: Int
image : Int
image : Int
xpReward : Int
xpReward : Int
takeDamage(strength : Double)
takeDamage(strength : Double)
Item
Item
stack : Int
stack : Int
Player
Player
id: Int
id: Int
pseudo : String
pseudo : String
xp : Int
xp : Int
level: Int
level: Int
image : Int
image : Int
rank : String
rank : String
changeRank()
changeRank()
addItem(item : Item)
addItem(item : Item)
gainXp(xp : Int)
gainXp(xp : Int)
attack() : Int
attack() : Int
hasitem() : Boolean
hasitem() : Boolean
craft(recipe : Recipe, count : Int = 1) : Boolean
craft(recipe : Recipe, count : Int = 1) :...
equipeItem(item : Item) : Boolean
equipeItem(item : Item) : Boolean
Generator
Generator
generateLootCollection() : Item
generateLootCollection() : Item
generateLootBoss(possibleLoot : ist<Pair<Item,Double>>) : Item
generateLootBoss(possibleLoot : ist<Pair<Item,Double>>) : Item
generateBoss() : Boss
generateBoss() : Boss
ItemType
ItemType
name : String
name : String
image : Int
image : Int
rarity: Int
rarity: Int
xpReward: Int
xpReward: Int
type
type
items*
items*
Recipe
Recipe
item : Item
item : Item
type : String
type : String
ingredients*
ingredient...
RecipeManager
RecipeManager
isCraftable(recipe: Recipe, player : Player) : Boolean
isCraftable(recipe: Recipe, player : Player) : Boolean
HowManyCraftable(recipe: Recipe, player : Player) : Int
HowManyCraftable(recipe: Recipe, player : Player) : Int
Tool
Tool
damage : Int
damage : Int
equipedItem
equipedItem
possibleLoot*
possibleLo...
<<use>>
<<use>>
<<use>>
<<use>>
<<use>>
<<use>>
<<use>>
<<use>>
Text is not SVG - cannot display
\ No newline at end of file