Skip to content

Instantly share code, notes, and snippets.

@mattak
Created December 21, 2016 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattak/b8462da31a4fa261caf19af4226535bd to your computer and use it in GitHub Desktop.
Save mattak/b8462da31a4fa261caf19af4226535bd to your computer and use it in GitHub Desktop.
using System;
using Unidux;
namespace App.Business
{
[Serializable]
public class State : StateBase<State>
{
public LocationState Location;
public LogState Log;
public SceneState Scene;
public StageState Stage;
public RaceState Race;
public UIStartState UIStart;
public GameState Game;
public AnimationState Animation;
public RaceCharacterState RaceCharacter;
public State()
{
this.Location = new LocationState();
this.Log = new LogState();
this.Scene = new SceneState();
this.Stage = new StageState();
this.Race = new RaceState();
this.UIStart = new UIStartState();
this.Game = new GameState();
this.Animation = new AnimationState();
this.RaceCharacter = new RaceCharacterState();
}
public override State Clone()
{
return this.DeepCloneBySerializable();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment