示例#1
0
 public Actions(WorkerPool workers, KanbanBoard board, Store store, State state)
 {
     _workers = workers;
     _board   = board;
     _store   = store;
     _state   = state;
 }
示例#2
0
文件: game.cs 项目: Jgeyen/kanban-bot
 public Game(Driver driver, ISimpleStrategy projectStrategy, IEmployeeStrategy founderStrategy, IEmployeeStrategy developerStrategy, IEmployeeStrategy testerStrategy, IEmployeeStrategy baStrategy)
 {
     Pool              = new WorkerPool(driver);
     Board             = new KanbanBoard(driver);
     Store             = new Store(driver);
     ProjectStrategy   = projectStrategy;
     FounderStrategy   = founderStrategy;
     DeveloperStrategy = developerStrategy;
     TesterStrategy    = testerStrategy;
     BaStrategy        = baStrategy;
     State             = new State(Pool, Board, Store);
     Actions           = new Actions(Pool, Board, Store, State);
 }
示例#3
0
 public State(WorkerPool workers, KanbanBoard board, Store store)
 {
     _workers = workers;
     _board   = board;
     _store   = store;
 }