evolution
Sequence Diagram selectSquareOfLand

Note Summary
Note1 
 

Object Summary
<unnamed> 
gameBoard 
Player 
world 
 

Diagram Elements Detail

Note1

text The player selects a square of land with coordinates (x, y). If there is no human on the square { => the player has previously selected to create a human we were to create a human (see collaboration diagram createHuman) => else if the player has already selected some humans one or more humans will start performing the action (see collaboration diagram startAction) => else only the square is selected and nothing else happens } else { => if the human is already selected let it perform the selected action (see collaboration diagram startAction) => else the human is added to the selection and the square is selected (see collaboration diagram selectHuman) }

Activation Summary
Activation1 
Activation3 
Activation5 
 

Dependency Links

to Class evolution.WorldController

Message Links

to Object gameBoard

Number 1.2
Operation getSquare
Arguments x, y
Return selectedSquare

to Object

Number 1.3
Operation setSelectedSquare
Arguments selectedSquare

to Object world

Number 1.1
Operation getGameBoard
Return gameBoard

to Object

Number 1.4
Operation setCreateHuman
Arguments false

Activation1

Activation3

Activation5

gameBoard
Activation Summary
Activation2 
 

Dependency Links

to Class evolution.GameBoard


Activation2

Player

Stereotype actor

Message Links

to Object

Name
Number 1
Operation selectSquareOfLand
Arguments x,y

Note Links

to Note Note1


world

Stereotype singleton
Activation Summary
Activation4 
 

Dependency Links

to Class evolution.World


Activation4

a gvijf production