0% found this document useful (0 votes)
8 views1 page

Adventure

The document outlines a game structure involving heroes, stages, choices, and battles. It defines classes such as Hero, Choix, Stage, Affrontation, Enemie, and ResultatAffrontation, detailing their attributes and methods. The relationships between these classes illustrate how players can interact with the game world through choices, battles, and object collection.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Adventure

The document outlines a game structure involving heroes, stages, choices, and battles. It defines classes such as Hero, Choix, Stage, Affrontation, Enemie, and ResultatAffrontation, detailing their attributes and methods. The relationships between these classes illustrate how players can interact with the game world through choices, battles, and object collection.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Hero Choix

+name : String +description: string


+PV : int +requirements: string[]
+level : int +destination: Stage

+performChoice(hero: Hero): void


+moveToStage(stageId: string): void
+collectObject(objet: Objets): void
+battle(opponent: Enemie): Stage 0..*

leads to
offers
move to

Stage

+id: string requires


+description: string
+choix: Choix[]
+objetCollectés: Objets[]
+affrontations: Afrfrontation[]

+entry(hero: Hero): void

includes drops

Affrontation Objets

+description: string +id: string


+enemie: Enemie +description: string
+results: ResultatAffrontation +icon: string

determines outcomes

+engage(hero: Hero): Stage

involves produces

Enemie ResultatAffrontation

+name: string +win: Stage


+image: string +lose: Stage
+stats: array

You might also like