Exemplo n.º 1
0
        public ArrangementManager(GameObject root, IPlayerOnegaiRepository playerOnegaiRepository, IPlayerArrangementTargetRepository playerArrangementTargetRepository)
        {
            this.arrangementTargetStore    = new List <IPlayerArrangementTarget> ();
            this.selectedArrangementTarget = null;
            this.arrangementAnnotater      = new ArrangementAnnotater(root);
            this.nearMap = new Dictionary <IPlayerArrangementTarget, List <IPlayerArrangementTarget> >();

            this.setMonoViewModelToArrangementService = new SetMonoViewModelToArrangementService(playerArrangementTargetRepository);
            this.arrangementTargetRemoveService       = new ArrangementTargetRemoveService(playerArrangementTargetRepository);
            this.appearArrangementService             = new AppearArrangementService(playerArrangementTargetRepository);
            this.unReserveArrangementService          = new UnReserveArrangementService(playerArrangementTargetRepository);

            this.onegaiMediater         = new OnegaiMediater(playerOnegaiRepository);
            this.playerOnegaiRepository = playerOnegaiRepository;
        }
Exemplo n.º 2
0
 public ConstantlyEventPusher(IPlayerOnegaiRepository playerOnegaiRepository)
 {
     this.playerOnegaiRepository = playerOnegaiRepository;
     this.satisfactionCalculater = new SatisfactionCalculater(playerOnegaiRepository);
     this.onegaiMediater         = new OnegaiMediater(playerOnegaiRepository);
 }
Exemplo n.º 3
0
 public NearOnegaiMediater(IPlayerOnegaiRepository playerOnegaiRepository)
 {
     this.playerOnegaiRepository = playerOnegaiRepository;
     this.onegaiMediater         = new OnegaiMediater(playerOnegaiRepository);
     this.monoInfoIdToOngeais    = new Dictionary <uint, List <OnegaiModel> >();
 }