public void BindAction(DelAction _DelMoveUp, DelAction _DelMoveDown, DelAction _DelDelete, DelAction _DelTimeChanged) { DelMoveUp = _DelMoveUp; DelMoveDown = _DelMoveDown; DelDelete = _DelDelete; DelTimeChanged = _DelTimeChanged; }
public virtual void SetDeathMode() { moduleAction = DoActionVoid; CreateParticleDamage(); transform.SetParent(null); Destroy(this.gameObject); }
public Action(string[] action, string[] with, string[] conj, string[] upon) { ActionSynnonyms = action; ActUpon = upon; ActWith = with; JunctionWords = conj; act = () => { return("No Action Defined"); }; }
public void BindAction(DelAction _DelAddItem) { DelAddItem = _DelAddItem; }
//System D "public" public void SetModeMenu() { EventSystem.current.firstSelectedGameObject = _menuButtonsAray[0]; EventSystem.current.SetSelectedGameObject(_menuButtonsAray[0]); selectionUpdate = DoUpdateMenu; }
void SetModePause() { EventSystem.current.firstSelectedGameObject = _pauseButtonsArray[0]; EventSystem.current.SetSelectedGameObject(_pauseButtonsArray[0]); selectionUpdate = DoUpdatePause; }
void SetModeGameOver() { EventSystem.current.firstSelectedGameObject = _gameOverButtonsArray[0]; EventSystem.current.SetSelectedGameObject(_gameOverButtonsArray[0]); selectionUpdate = DoUpdateGameOver; }
public FakeActionNode(DelAction action, DecisionTree tree) : base(action, tree) { }
public ActionNode(DelAction action, DecisionTree tree) { this.action = action; this.tree = tree; }
public WsState SetAction(DelAction action) { Action = action; return(this); }
public virtual void SetModeFree() { moduleAction = DoActionFree; }
public virtual void SetModeNormal() { moduleAction = DoActionNormal; }
public virtual void SetModeVoid() { moduleAction = DoActionVoid; }
public void SetupDelagate(DelAction d) { act = d; }
public ActionSource(DelAction action, GetPrice getPrice) { this.action = action; this.getPrice = getPrice; state = new ActiveState(); }
ActiveState state; // about which town, hexa etc it is about #endregion Fields #region Constructors public ActionSource(DelAction action, PriceKind price) : this(action, () => { return price;}) { }