uml


UML Activity diagram how to show game ends when time has passed?


Activity Diagram for Simple Pacman-like Game
When 20 seconds passes, the player unlocks poison. Poison can be dropped to slow down the enemy, or the player can accidentally eat his own poison and slow down.
I want to show that the player wins after 60 seconds has passed. I thought I would show it as a loop looping the 20seconds 3 times but that would be incorrect because the player can only unlock the poison once.
Would the best way of showing this be to draw a rectangle around the entire diagram and just state (after 60 seconds, player wins)? - and have it lead to an end circle?
You can also just add the point where you get start time and add point when you check if current time - start time == 60sec.

Related Links

Do I have this Use Case diagram correct?
From sequence Diagram to Class diagram [closed]
What's diference between entity-relationship and domain-model
when can i draw solid life time at sequence diagram
How to write use-case-scenario without having real actors?
doxygen: How to create “.uml” file from source code of c++ using doxygen?
UML new lifeline
How to use correctly nonunique in UML?
Inheritance and specialization
How works {XOR} constraint in UML?
Are these two uml arrows equivalent?
confuse methods in association class diagram
How can i link to attribute of an instance of a class
Class diagram attribute visibility. Public attribute can have getter and setter operations?
UML Class Diagram assosiation with following example?
UML-how to make it the right model?

Categories

HOME
beautifulsoup
eslint
forms
rdbms
hessian
jwplayer
ms-access-2016
xbee
simulink
emscripten
minecraft-forge
intercom
onedrive-api
docx
capistrano3
sigma.js
gmock
roundup
perlbrew
user-defined-functions
google-earth
finagle
ntp
eviews
aws-codecommit
paragraph
weather
android-maps-extensions
modalviewcontroller
dm-script
xdocreport
modernizr
cin
jvmti
c9.io
claims
tcc
avcapturedevice
android-exoplayer
oim
servermanager
libgphoto2
chai-as-promised
dbcontext
context-sensitive-grammar
d3-force-directed
structuremap4
choice
redbeard-ios
windows-azure-queues
jboss-tools
nservicebus5
omniauth-facebook
upx
database-relations
nio2
jparsec
dynamics-nav-2016
rewrite
oracle-spatial
sapscript
lasso
zscript
skspritenode
aspectj-maven-plugin
android-broadcast
rrule
xmltype
java-security
infosphere-spl
deform
reflector
ios8-extension
ice-cube
oocss
flex++
route-provider
jquery-1.9
argouml
catransform3d
xcelsius
listactivity
mbeans
dataform
msr
ajax-polling
openfaces
strtod
dsl-tools
escrow
information-management
movieplayer
great-circle

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile