tkymx / NezumiLand

ねずみが遊園地を作るゲーム
0 stars 0 forks source link

動物の頭上に「お願い」が存在しており、クリアするとタップして報酬をもらえる #41

Closed tkymx closed 4 years ago

tkymx commented 4 years ago
tkymx commented 4 years ago

会話と違って頭の上にお願いマークが出てくる。 マークをタップすると、お願いが表示されている。 お願いをクリアすると、ビックリマークになっている。 時間制限になっていて、時間がすぎるとその動物もいなくなる。

tkymx commented 4 years ago
tkymx commented 4 years ago
お願いを持つキャラクタの作成
``` @startuml enum OnegaiType { - Main - Sub - Person } OnegaiModel *-- OnegaiType enum AppearCharacterLifeDirectorType { - None - Reserve - ReserveOnegai - ParkOpen } ' 会話キャラの情報 class AppearConversationCharacterDirectorModel #orange { - uint ConversationId - uint RewardId } AppearConversationCharacterDirectorModel --* AppearConversationCharacterDirectorRepository class AppearConversationCharacterDirectorRepository #orange ' お願いキャラの情報 class AppearOnegaiCharacterDirectorModel #orange { - uint AfterConversationId - uint BeforeConversationId - uint OnegaiConversationId - uint RewardId } AppearOnegaiCharacterDirectorModel --* AppearOnegaiCharacterDirectorRepository class AppearOnegaiCharacterDirectorRepository #orange ' 公開講演キャラの情報 class AppearParkOpenCharacterDirectorModel #orange { } AppearParkOpenCharacterDirectorModel --* AppearParkOpenCharacterDirectorRepository class AppearParkOpenCharacterDirectorRepository #orange PlayerAppearCharacterViewModel *-- PlayerAppearCharacterDirectorModelBase class PlayerAppearCharacterDirectorModelBase #orange { } PlayerAppearCharacterDirectorModelBase <|-- PlayerAppearConversationCharacterDirectorModel PlayerAppearCharacterDirectorModelBase <|-- PlayerAppearOnegaiCharacterDirectorModel PlayerAppearCharacterDirectorModelBase <|-- PlayerAppearParkOpenCharacterDirectorModel ' プレイヤーデータ class PlayerAppearConversationCharacterDirectorModel #orange class PlayerAppearConversationCharacterDirectorRepository #orange PlayerAppearConversationCharacterDirectorModel *-- AppearConversationCharacterDirectorModel PlayerAppearConversationCharacterDirectorModel --* PlayerAppearConversationCharacterDirectorRepository class PlayerAppearOnegaiCharacterDirectorModel #orange class PlayerAppearOnegaiCharacterDirectorRepository #orange PlayerAppearOnegaiCharacterDirectorModel *-- AppearOnegaiCharacterDirectorModel PlayerAppearOnegaiCharacterDirectorModel --* PlayerAppearOnegaiCharacterDirectorRepository class PlayerAppearParkOpenCharacterDirectorModel #orange class PlayerAppearParkOpenCharacterDirectorRepository #orange PlayerAppearParkOpenCharacterDirectorModel *-- AppearParkOpenCharacterDirectorModel PlayerAppearParkOpenCharacterDirectorModel --* PlayerAppearParkOpenCharacterDirectorRepository ' 強制会話キャラを召喚するイベント EventContentsBase *-- AppearConversationCharacter class AppearConversationCharacter #orange { - uint AppearConversationCharacterDirectorId } ' 確率会話キャラを召喚するイベント EventContentsBase *-- AppearConversationCharacterNormal class AppearConversationCharacterNormal #orange { - uint AppearOnegaiCharacterDirectorId } ' 強制お願いキャラを召喚するイベント class AppearOnegaiCharacter #orange EventContentsBase *-- AppearOnegaiCharacter AppearConversationCharacter --> DailyAppearCharacterRegistManager : Regist AppearConversationCharacterNormal --> DailyAppearCharacterRegistManager : Regist AppearOnegaiCharacter --> DailyAppearCharacterRegistManager : Regist ' 予約マネージャー DailyAppearCharacterRegistManager *-- DailyAppearCharacterGeneratorResistReserve DailyAppearCharacterGeneratorResistReserve *-- PlayerAppearCharacterReserveModel PlayerAppearCharacterReserveModel *-- AppearCharacterLifeDirectorType class PlayerAppearCharacterReserveModel #orange { - AppearCharacterLifeDirectorType AppearCharacterLifeDirectorType - AppearCharacterDirectorModelBase AppearCharacterDirectorModelId } DailyAppearCharacterGeneratorResistReserve --> AppearCharacterGenerator : 生成 DailyAppearCharacterGeneratorResistReserve --> AppearCharacterManager : 登録 AppearCharacterGenerator --> AppearCharacterViewModel : 生成 AppearCharacterManager *-- AppearCharacterViewModel AppearCharacterViewModel *-- AppearCharacterView class AppearCharacterView { - void ShowOnegaiIndicator() - IObservable OnTouchOnegai() } class AppearCharacterViewModel AppearCharacterViewModel *-- IAppearCharacterLifeDirector AppearCharacterViewModel *-- PlayerAppearCharacterViewModel class PlayerAppearCharacterViewModel #orange { - AppearCharacterLifeDirectorType AppearCharacterLifeDirectorType } PlayerAppearCharacterViewModel *-- AppearCharacterLifeDirectorType ' タップして会話をする class ReserveAppearCharacterLifeDirector { - PlayerAppearConversationCharacterDirectorModel PlayerAppearConversationCharacterDirectorModel } IAppearCharacterLifeDirector <|-- ReserveAppearCharacterLifeDirector ReserveAppearCharacterLifeDirector *-- PlayerAppearConversationCharacterDirectorModel ' タップしてお願いを聞く class ReserveOnegaiAppearCharacterLifeDirector #orange { - PlayerAppearOnegaiCharacterDirectorModel PlayerAppearOnegaiCharacterDirectorModel } IAppearCharacterLifeDirector <|-- ReserveOnegaiAppearCharacterLifeDirector ReserveOnegaiAppearCharacterLifeDirector *-- PlayerAppearOnegaiCharacterDirectorModel ' 開放中のキャラクタ class ParkOpenAppearCharacterLifeDirector IAppearCharacterLifeDirector <|-- ParkOpenAppearCharacterLifeDirector ParkOpenAppearCharacterLifeDirector *-- PlayerAppearParkOpenCharacterDirectorModel @enduml ``` ![お願いを持つ住人](https://user-images.githubusercontent.com/2806096/77138736-8a978780-6ab6-11ea-9e5d-2e9218c599c8.png)
tkymx commented 4 years ago

できた