- 1、本文档共44页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* Use Case Realizations for the NextGen Iteration 5.3. Store.create() identify the following initialization work Create a Store, Register, ProductCatalog, and ProductDescriptions. Associate the ProductCatalog with ProductDescriptions. Associate Store with ProductCatalog. Associate Store with Register. Associate Register with ProductCatalog * POS: StartUp * Use Case Realizations for the Monopoly Iteration Figure 18.21. Iteration-1 Domain Model for Monopoly System Operation playGame * Use Case Realizations for the Monopoly Iteration 6.1 Choosing the Controller Class Represents the overall system, root object, a specialized device, or a major subsystem. MonopolyGame a kind of root object: We think of most of the other domain objects as contained within the MonopolyGame. Abbreviated MGame in most of the UML sketches. MonopolyGameSystem a name suggesting the overall system Represents a receiver or handler of all system events of a use case scenario. PlayMonopolyGameHandler constructed from the pattern use-case-name Handler PlayMonopolyGameSession We select MonopolyGame (abv. MGame) * 6.2 Who is Responsible for Controlling the Game Loop? Turn: a player rolling the dice and moving the piece Round: all the players taking one turn What information is needed for the responsibility? Figure 18.22. Applying Controller to the playGame system operation * */54 Use Case Realizations for the Monopoly Iteration Information Needed Who Has the Information? the current round count(当前回合数) No object has it yet, but by LRG, assigning this to the MonopolyGame object is justifiable. all the players (so that each can be used in taking a turn) Taking inspiration from the domain model, MonopolyGame is a good candidate. MonopolyGame is a good candidate * Use Case Realizations for the Monopoly Iteration 6.3 Who Takes a Turn? What information is needed for the responsibility? Information Needed Who Has the Information? current location of the player (to know the starting p
您可能关注的文档
最近下载
- “集成电路工程技术赛项项目”—中华人民共和国第二届职业技能大赛甘肃省选拔赛—技术工作文件 .docx
- 经典音乐作品解析PPT模板.pptx
- M1M20用户手册说明书.docx
- 华测系列产品使用说明书.pdf
- (部编版)语文六年级上册寒假课外阅读“天天练”30篇,附参考答案.doc
- 临床检验质量控制分中心工作制度.docx VIP
- 医院团委书记工作述职报告.pptx VIP
- 人教版高中语文必修下册(全一册)课后习题 (2).doc VIP
- 2024年基层党委党支部党纪学习教育《坚定信念 恪守党纪》专题党课PPT课件.pptx VIP
- 2022-2027年中国建筑隔震橡胶支座行业市场全景评估及投资方向研究报告.docx
文档评论(0)