started working on player moves.
This commit is contained in:
@@ -2,16 +2,16 @@
|
||||
|
||||
namespace Shogi.Contracts.Socket;
|
||||
|
||||
public class MoveResponse : ISocketResponse
|
||||
public class PlayerHasMovedMessage : ISocketResponse
|
||||
{
|
||||
public SocketAction Action { get; }
|
||||
public string SessionName { get; set; } = string.Empty;
|
||||
public string SessionName { get; set; }
|
||||
/// <summary>
|
||||
/// The player that made the move.
|
||||
/// </summary>
|
||||
public string PlayerName { get; set; } = string.Empty;
|
||||
public string PlayerName { get; set; }
|
||||
|
||||
public MoveResponse()
|
||||
public PlayerHasMovedMessage()
|
||||
{
|
||||
Action = SocketAction.PieceMoved;
|
||||
}
|
||||
Reference in New Issue
Block a user