[GameStateScreen(typeof(InitialState))]
public class MyInitialScreen : MBInitialScreenBase
{
private GauntletLayer _gauntletLayer;
private InitialMenuVM _dataSource;
public MBInitialScreen(InitialState initialState) : base(initialState) { }
protected override void OnInitialize()
{
base.OnInitialize();
this._dataSource = new InitialMenuVM();
this._gauntletLayer = new GauntletLayer(1, "GauntletLayer");
this._gauntletLayer.LoadMovie("InitialScreen", this._dataSource);
this._gauntletLayer.InputRestrictions.SetInputRestrictions(true, InputUsageMask.Mouse);
base.AddLayer(this._gauntletLayer);
GameNotificationManager.Current?.LoadMovie(false);
ChatLog.Current?.LoadMovie(false);
InformationManager.ClearAllMessages();
}
}