コード例 #1
0
 public LevelFactory(ContentManager content, IBoard board, DoodadFactory doodadFactory, Session session)
 {
     this.content = content;
     this.board = board;
     this.doodadFactory = doodadFactory;
     this.session = session;
 }
コード例 #2
0
 public EvaluateBoard()
 {
     this.content = new ContentManager(new AppServiceProvider(), Environment.CurrentDirectory);
     this.doodadFactory = new DoodadFactory();
     this.boardPacker = new BoardPacker(Constants.NumberOfColumns, Constants.NumberOfRows);
 }