Chessistics/chessistics-engine/Commands/CommandRejectedException.cs
Samuel Bouchet e6eaae43ab Initial commit: Chessistics prototype v0.3
Black box sim engine (commands in, events out) with 3 piece types
(Rook, Bishop, Knight), cargo transfer system with social status
priority, collision detection, and victory/defeat conditions.

57 tests covering rules, simulation, loading, and solvability.
Godot 4 presentation layer scaffolding.
2026-04-10 14:58:03 +02:00

14 lines
335 B
C#

using Chessistics.Engine.Events;
namespace Chessistics.Engine.Commands;
public class CommandRejectedException : Exception
{
public IWorldEvent RejectionEvent { get; }
public CommandRejectedException(IWorldEvent rejectionEvent)
: base(rejectionEvent.ToString())
{
RejectionEvent = rejectionEvent;
}
}