evolution
Sequence Diagram createHuman

Note Summary
Note1 
Note2 
Note3 
Note4 
Note5 
 

Object Summary
<unnamed> 
<unnamed> 
<unnamed> 
<unnamed> 
<unnamed> 
human 
Player 
selectedSquare 
 

Diagram Elements Detail

Note1

text The square is selected by the player after the action create a human and is remembered by the world controller.

Note2

text The method _place(human) throws an IllegalPlacementException if the square already contains a human or the square is not yet explored.

Note3

text The method selectSquareOfLand(x, y) throws a CreationPowerInsufficientException if the creation power is too low.

Note4

text The player choose to create a new human and selectes a square of land with coordinates (x, y). If the selected square doesn't contain a human then the worldcontroller will try to create a new human on square.

Note5

text When the human is created, a SquareChangedEvt is fired.

Stereotype singleton
Activation Summary
Activation14 
 

Dependency Links

to Class evolution.Evolution


Activation14

Activation Summary
Activation5 
 

Dependency Links

to Class evolution.WorldController

Message Links

to Object

Number 1.1
Operation createHuman
Arguments selectedSquare

Note Links

to Note Note3


Activation5

Stereotype singleton
Activation Summary
Activation11 
 

Dependency Links

to Class evolution.actions.ActionKnowledgeCatalog


Activation11

Stereotype singleton
Activation Summary
Activation6 
 

Dependency Links

to Class evolution.EvolutionKnowledgeCatalog


Activation6

Stereotype singleton
Activation Summary
Activation1 
 

Dependency Links

to Class evolution.World

Message Links

to Object human

Name human := create(selectedSquare)
Number 2

Activation1

human
Activation Summary
Activation12 
Activation4 
Activation7 
Activation9 
 

Dependency Links

to Class evolution.Human

Message Links

to Object

Number 2.1
Operation getDefaultVisionRange
Return range

to Object human

Number 2.2
Operation setVisionRange
Arguments range

to Object selectedSquare

Name
Number 2.3
Operation _place
Arguments human

to Object

Name
Number 2.4
Operation getDefaultActionType
Return defaultAction

to Object human

Name
Number 2.5
Operation setAction
Arguments defaultAction

to Object

Number 2.6
Operation register
Arguments human

Note Links

to Note Note5


Activation12

Activation4

Activation7

Activation9

Player

Stereotype actor

Dependency Links

Message Links

to Object

Number 1
Operation selectSquareOfLand
Arguments x, y

Note Links

to Note Note4


selectedSquare
Activation Summary
Activation2 
Activation3 
Activation8 
 

Dependency Links

to Class evolution.lands.SquareOfLand

Message Links

to Object human

Number 2.3.1
Operation setSquareOfLand
Arguments human

Note Links

to Note Note1

to Note Note2


Activation2

Activation3

Activation8

a gvijf production