KoogleApp/src/Koogle.Application/Games/FoxHunt/FoxHuntGameDefinition.cs

33 lines
1014 B
C#

using Koogle.Application.Games.Shit;
using Koogle.Domain.Interfaces;
namespace Koogle.Application.Games.FoxHunt
{
/// <summary>
/// Game definition for Fuchsjagd-Spiel (Fox Hunt) game type.
/// One Player starts as fox, and all others try to hunt him.
/// </summary>
public class FoxHuntGameDefinition : IGameDefinition
{
/// <inheritdoc />
public string Name => "FoxHunt";
/// <inheritdoc />
public string DisplayName => "Fuchsjagd";
/// <inheritdoc />
public Type SetupComponentType => Type.GetType(
"Koogle.Web.Components.Game.FoxHunt.FoxSetup, Koogle.Web")!;
/// <inheritdoc />
public Type BoardComponentType => Type.GetType(
"Koogle.Web.Components.Game.FoxHunt.FoxBoard, Koogle.Web")!;
/// <inheritdoc />
public Type GameLogicServiceType => typeof(FoxHuntGameLogicService);
/// <inheritdoc />
public Type GameModelType => typeof(FoxHuntGameModel);
}
}