ported from perforce
This commit is contained in:
20
RobotAndDonkey.Game/Execution/Requests/GambleRequest.cs
Normal file
20
RobotAndDonkey.Game/Execution/Requests/GambleRequest.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Immutable;
|
||||
using RobotAndDonkey.Game.Cards;
|
||||
using RobotAndDonkey.Game.Data;
|
||||
using RobotAndDonkey.Game.GameState;
|
||||
|
||||
namespace RobotAndDonkey.Game.Execution.Requests;
|
||||
|
||||
public sealed record GambleRequest(Guid RequestId) : Request(RequestId)
|
||||
{
|
||||
public static GambleRequest Create(CoreLoop coreLoop)
|
||||
{
|
||||
return new(Guid.NewGuid());
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "Gamble request";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user