public void LaunchOnePlayerMode() { string playerType = PlayerTypeConstants.PLAYER_HUMAN; ApplicationUtils.playerNumber = 1; ApplicationUtils.AffectPlayer((int)PlayerEnum.PlayerId.PLAYER_1, playerType); this.LaunchGame(SceneConstants.SCENE_NAME_ONE_PLAYER_MODE); }
private void ManagePlayerAffectation(int playerId, bool isAtTheMiddle) { string playerType = PlayerTypeConstants.PLAYER_HUMAN; if (isAtTheMiddle) { playerType = PlayerTypeConstants.PLAYER_COMPUTER; } ApplicationUtils.AffectPlayer(playerId, playerType); }