public void StartCircledMatch() { var gameObj_MatchView = Init_(); boardInitializer = gameObj_MatchView.AddComponent <CircledBoardInitializer>(); matchController = boardInitializer.InitializeBoard(); }
public void StartLosAlamosMatch() { var gameObj_MatchView = Init_(); boardInitializer = gameObj_MatchView.AddComponent <LosAlamosBoardInitializer>(); matchController = boardInitializer.InitializeBoard(); }
public void StartCircledMatch(string s, List <BoardPosition> fromPositions, List <BoardPosition> toPositions) { InitStatics(); var gameObj_MatchView = GameObject.Find(ChessConstants.MatchViewObjectName); if (gameObj_MatchView == null) { gameObj_MatchView = new GameObject(ChessConstants.MatchViewObjectName); } boardInitializer = gameObj_MatchView.AddComponent <CircledBoardInitializer>(); matchController = boardInitializer.InitializeBoard(s, fromPositions, toPositions); }