Class GameHandler
Class that represents a handler that exposes a reference to the game instance, for convenience.
Inheritance
System.Object
GameHandler
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fibula.Mechanics.Handlers
Assembly: Fibula.Mechanics.dll
Syntax
public abstract class GameHandler : BaseRequestHandler, IHandler
Constructors
| Improve this Doc View SourceGameHandler(ILogger, IGame)
Initializes a new instance of the GameHandler class.
Declaration
protected GameHandler(ILogger logger, IGame game)
Parameters
Type | Name | Description |
---|---|---|
Serilog.ILogger | logger | A reference to the logger in use. |
IGame | game | A reference to the game instance. |
Properties
| Improve this Doc View SourceGame
Gets the reference to the game instance.
Declaration
protected IGame Game { get; }
Property Value
Type | Description |
---|---|
IGame |