public AbstractFSMState(string stateName, AbstractFSMStateController stateController, AbstractPanelDeclarations panelDeclarations) { StateName = stateName; StateController = stateController; MultiPanelDeclarations = new List <AbstractPanelDeclarations>(); if (panelDeclarations != null) { MultiPanelDeclarations.Add(panelDeclarations); } }
public AbstractFSMState(string stateName, List <AbstractPanelDeclarations> panelDeclarations, AbstractFSMStateController stateController) { StateName = stateName; StateController = stateController; MultiPanelDeclarations = new List <AbstractPanelDeclarations>(); if (panelDeclarations != null && panelDeclarations.Count > 0) { MultiPanelDeclarations.AddRange(panelDeclarations); MultiPanelDeclarations.RemoveAll(item => item == null); //Pure sanity check. } }
public GameStateStartupGame(string stateName, List <AbstractPanelDeclarations> panelDeclarations, AbstractFSMStateController stateController) : base(stateName, panelDeclarations, stateController) { }
public AbstractFSMState(string stateName, AbstractFSMStateController stateController) { StateName = stateName; StateController = stateController; MultiPanelDeclarations = new List <AbstractPanelDeclarations>(); }
public GameStateStartupGame(string stateName, AbstractFSMStateController stateController, AbstractPanelDeclarations panelDeclarations) : base(stateName, stateController, panelDeclarations) { }