コード例 #1
0
        private ValidationReport RunMovementValidations(Player currentPlayer, CommandParser.PlayerMoves direction)
        {
            ValidationProperties properties =
                new ValidationProperties(Players, Matrix, currentPlayer, direction, Rows, Columns);

            Validations validations = new Validations(properties);

            return(validations.RunValidations());
        }
コード例 #2
0
ファイル: Validations.cs プロジェクト: AleKiller21/Tron-V2
 public Validations(ValidationProperties properties)
 {
     Properties = properties;
 }