10
UMLClass
280
10
210
210
Asset
--
Attributes:
- _name: string
- _message: string
- _value: int
- _isOffensive: bool
+ hasBeenUsed: bool
--
Functions:
+ GetName()
+ GetMessage()
+ GetValue()
+ isOffensive()
UMLClass
660
10
210
180
<<Combatant>>
--
Attributes:
~ name: string
~ health: int
~ fightCoefficient: int
--
Functions:
+ Fight()
+ GetName()
+ GetHealth()
+ GetFightCoefficient()
UMLClass
770
240
210
110
Monster
--
Attributes:
--
Functions:
* not implemented
UMLClass
1020
10
210
340
Node
--
Attributes:
- _id: int
- _name: string
- _connections: vector<Node>
- _assets: vector<Asset>
- _monsters:vector<Monster>
+ Description:string
--
Functions:
+ GetId()
+ SetID()
+ GetName()
+ AddConnection()
+ GetConnections()
+ GetAConnection()
+ AddAsset()
+ GetAssets()
+ AddMonster()
+ GetMonsters()
+ RemoveAsset()
UMLClass
520
240
210
150
Player
--
Attributes:
- _assets: vector<Asset>
--
Functions:
+ AddAsset()
+ GetAssets()
+ GetTotalAssetValue()
UMLClass
20
10
210
130
Adventure Game Map
--
Attributes:
- _locations: vector<Node>
--
Functions:
- buildMapNodes()
+ GetLocations()
Relation
610
180
70
80
lt=<<-
50.0;10.0;10.0;60.0
Relation
860
180
30
80
lt=<<-
10.0;10.0;10.0;60.0