Re: UML Command pattern and Sate Pattern
- From: "Daniel T." <daniel_t@xxxxxxxxxxxxx>
- Date: Sat, 25 Nov 2006 21:42:53 GMT
"Bob" <rk20049@xxxxxxxxx> wrote:
I'm new to Patterns, I would really appreciate if any one can help me
out to solve the below problems?
- Thanks in advance. -Bob
1) Show how the command pattern could be applied in the Monopoly game
design. Include a class diagram and sequence diagrams for do, undo, and
redo.
Presumably, your homework included a Monopoly game design, or you had to
do one yourself. What are do, undo, and redo supposed to do, undo and
redo?
2) Show how the state pattern would apply to the Property class in the
Monopoly design. What are the states of a Property? How do they change?
Show the class diagram for the Property class with the application of
the state pattern. Show a sequence diagram for one of the state changes.
Again, show us the current Monopoly design and we can go from there.
Have you made any attempt to answer your homework questions yourself? If
so, let's hear what you have so far and maybe we can critique them.
--
To send me email, put "sheltie" in the subject.
.
- References:
- UML Command pattern and Sate Pattern
- From: Bob
- UML Command pattern and Sate Pattern
- Prev by Date: UML Command pattern and Sate Pattern
- Next by Date: Delta
- Previous by thread: UML Command pattern and Sate Pattern
- Next by thread: Re: UML Command pattern and Sate Pattern
- Index(es):
Relevant Pages
|