From 37b8b0f95df310b5cb439dc2e43c5ffe18dfb7fe Mon Sep 17 00:00:00 2001 From: Lucas DELANIER Date: Fri, 7 Apr 2023 14:28:47 +0200 Subject: [PATCH] =?UTF-8?q?Transf=C3=A9rer=20les=20fichiers=20vers=20'Docu?= =?UTF-8?q?mentations'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentations/Diagramme sans nom.drawio.svg | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Documentations/Diagramme sans nom.drawio.svg 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