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

Specifying attribute types in Papyrus
What is different between system boundary and automation boundary in uml?
What UML Diagram should I use to represent socket conversation?
UML extensions for AOP
Is there any way to scan handwritten UML diagrams into a UML tool?
UML: Control Flow and Object Flow
In a Activity Diagram, how do I reference an external acitivity? [closed]
transition with same start/end in UML state diagram
Scenario diagram vs sequence diagram
MSCGen for Mac OS X
How to model in UML this specific scenario
Can I use UML for modelling website navigation
“Action State” vs “State” in UML Activity diagram
How to draw an Association Class in Dia? [closed]
Use Case diagram
UML - association or aggregation relationship?

Categories

HOME
sonarqube
asp.net-web-api
assembly
adal
powerpoint
toolbox
interface
sh
graphics
scripting
google-apps
rds
square
vsm
spin
php-5.6
naivebayes
plink
android-intent
alpacajs
dynamic-sql
easyphp
ksh
dapper-extensions
data.stackexchange.com
oculus
bioinformatics
finagle
calculation
constexpr
event-flow
jmockit
hibernate-validator
fstream
navigator
roblox
zoomify
loading
kill
attributeerror
datacachefactory
ssrs-2014
bindingnavigator
contract
opencmis
puredata
ntvs
magento-2.0.7
jquery-ui-draggable
reindex
amq
pdf-conversion
vibrate
rxtx
taocp
usart
angular2-testing
mta
dup
xdoclet
deep
aurora
hadoop-partitioning
ikiwiki
beanstalk
findfirst
invoke-sqlcmd
false-sharing
jbase
dynatree
rewrite
xvim
canalyzer
sha512
variadic-templates
linkedin-jsapi
wcm
angular-carousel
radiant
gwt-openlayers
mt4j
solace-mq
code-duplication
abstract-data-type
nokia-s40
sentestingkit
vfs
wcf-configuration
httponly
infobright
rmdir
metaweblog
objective-j
object-database
office-2007
burndowncharts
purepdf
xslcompiledtransform
netbeans6.1

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile