ace/Source/ACE.Server/Entity/Chess/ChessDelayedAction.cs
gmriggs fd725ab184
Adding Chess (#1519)
* Adding Chess

* Updating chess rankings

* more rank updates

* Reverting pieces to default size / improving movement
2019-03-19 03:10:57 -04:00

34 lines
933 B
C#

using ACE.Entity.Enum;
namespace ACE.Server.Entity.Chess
{
public class ChessDelayedAction
{
public ChessDelayedActionType Action;
public ChessColor Color;
public ChessPieceCoord From;
public ChessPieceCoord To;
public bool Stalemate;
public ChessDelayedAction(ChessDelayedActionType action)
{
Action = action;
}
public ChessDelayedAction(ChessDelayedActionType action, ChessColor color, bool stalemate = false)
{
Action = action;
Color = color;
Stalemate = stalemate;
}
public ChessDelayedAction(ChessDelayedActionType action, ChessColor color, ChessPieceCoord from, ChessPieceCoord to, bool stalemate = false)
{
Action = action;
Color = color;
From = from;
To = to;
Stalemate = stalemate;
}
}
}