KoogleApp/KoogleApp/Games/Shit/Reducers.cs

16 lines
364 B
C#

using Fluxor;
using KoogleApp.Games.Training;
using KoogleApp.Store.Game;
namespace KoogleApp.Games.Shit
{
public static class Reducers
{
[ReducerMethod]
public static ShitGameState? OnGameModelChanged(ShitGameState gameModel, GameModelChangedAction action)
{
return action.Model as ShitGameState;
}
}
}