예제 #1
0
 public GameDatabase(ref Action onUpdate, GameObject ui, ICoreMessager coreMessager, Dictionary <KeyPositionType, KeyPosition> keyPositions)
 {
     this.KeyPositions  = keyPositions;
     UserManager        = new UserManager();
     Aggregates         = new Aggregates(ref onUpdate, coreMessager);
     Commands           = new Commands(Aggregates, UserManager);
     GameViewController = new GameViewController(ui);
 }
예제 #2
0
 public Aggregates(ref Action OnUpdate, ICoreMessager coreMessager)
 {
     DebugAggregate = new DebugAggregate(ref OnUpdate, coreMessager);
     CharacterSelectionAggregate = new CharacterSelectionAggregate(ref OnUpdate);
     CharacterAggregate          = new CharacterAggregate(ref OnUpdate);
 }
예제 #3
0
 public DebugAggregate(ref Action onUpdate, ICoreMessager coreMessager) : base(ref onUpdate)
 {
     this.coreMessager = coreMessager;
 }