From af9cf5a3d9cc5856bd445c940628a9dba3125af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Sun, 13 Feb 2022 15:36:34 +0100 Subject: [PATCH] feat(game): make game stateful entity --- Core/NosSmooth.Game/Game.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/NosSmooth.Game/Game.cs b/Core/NosSmooth.Game/Game.cs index e73d8c616114d58a2e0ac8ca6dfa9a5cecb88b4c..9432485cf1ca8d1d7c8e733c29ee1736ee271faf 100644 --- a/Core/NosSmooth.Game/Game.cs +++ b/Core/NosSmooth.Game/Game.cs @@ -5,6 +5,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Extensions.Options; +using NosSmooth.Core.Client; +using NosSmooth.Core.Stateful; using NosSmooth.Game.Data.Characters; using NosSmooth.Game.Data.Maps; using NosSmooth.Game.Data.Raids; @@ -14,7 +16,7 @@ namespace NosSmooth.Game; /// /// Represents base nostale game class with the character, current map, friends and current raid. /// -public class Game +public class Game : IStatefulEntity { private readonly GameOptions _options; private Map? _currentMap;