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

importance of object model in domain driven design
UML: disjoint vs. overlapping academic scrap? [closed]
Tools for describing and modeling voice xml applications [closed]
How to show duplicate actions in an activity diagram?
Are there any good resources discussing the creation and use of UML component diagrams? [closed]
Can UML with OCL be used for formal specifications?
How can I create a class diagram with NetBeans' 6.8 UML module?
How do you show instantiation in a UML Sequence Diagram?
Changing diagram notation to UML in Visual Paradigm
Association of n to 1 objects in a UML class diagram
free, cheap or open source UML and Visio-like tool [closed]
Drawing UML state diagrams
Source code to class diagram generation
How to make a line straight in StarUML
How model statemachine, when state is dependent on a function?
Entity Relationship diagram - Composition

Categories

HOME
google-app-engine
api
string
phpmyadmin
angular2-material
components
package
jsf-2.2
appcelerator
replace
seo
tivoli
x264
jtextpane
special-characters
sendgrid-api-v3
okhttp
github-enterprise
startup
enterprise-architect
flash-player
android-intent
firefox-addon
easyphp
database-connection
visual-glitch
google-cloud-print
flooding
nstimer
underscore.js
firebase-analytics
errbot
carrierwave
vex
panoramas
eviews
gitlab-api
kodi
r-grid
android-sugarorm
browser-extension
protege4
dm-script
apns-php
spring-mvc-test
odoo-website
preloader
plr
http-request
getchar
opennms
term
wcftestclient
launchctl
page-replacement
oracleclient
filenet
custom-lists
adafruit
embedding
omniauth-facebook
kango-framework
angular-ui-typeahead
data-protection
html-to-pdf
fink
nullable
halcon
np-spring
highland.js
spring-retry
gocql
dock
canalyzer
iced-coffeescript
graphics2d
canvg
kubuntu
beatsmusic
iiop
webfinger
genymotion-call
draw2d-js
websphere-esb
menubar
sbcl
android-audiorecord
windows-embedded-standard
scrypt
asdf
dolby-audio-api
onload-event
patricia-trie
faye
pinch
entity-attribute-value
cuteeditor
codebase
appledoc
resharper-6.0
cruisecontrol.rb
aspmenu
scrollbars
sifr
visualj#
software-lifecycle
business-model
information-management
contentpresenter
mathematical-typesetting

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App