Exemplo n.º 1
0
 public void BindAction(DelAction _DelMoveUp, DelAction _DelMoveDown, DelAction _DelDelete, DelAction _DelTimeChanged)
 {
     DelMoveUp      = _DelMoveUp;
     DelMoveDown    = _DelMoveDown;
     DelDelete      = _DelDelete;
     DelTimeChanged = _DelTimeChanged;
 }
Exemplo n.º 2
0
 public virtual void SetDeathMode()
 {
     moduleAction = DoActionVoid;
     CreateParticleDamage();
     transform.SetParent(null);
     Destroy(this.gameObject);
 }
Exemplo n.º 3
0
 public Action(string[] action, string[] with, string[] conj, string[] upon)
 {
     ActionSynnonyms = action;
     ActUpon         = upon;
     ActWith         = with;
     JunctionWords   = conj;
     act             = () => { return("No Action Defined"); };
 }
Exemplo n.º 4
0
 public void BindAction(DelAction _DelAddItem)
 {
     DelAddItem = _DelAddItem;
 }
Exemplo n.º 5
0
 //System D "public"
 public void SetModeMenu()
 {
     EventSystem.current.firstSelectedGameObject = _menuButtonsAray[0];
     EventSystem.current.SetSelectedGameObject(_menuButtonsAray[0]);
     selectionUpdate = DoUpdateMenu;
 }
Exemplo n.º 6
0
 void SetModePause()
 {
     EventSystem.current.firstSelectedGameObject = _pauseButtonsArray[0];
     EventSystem.current.SetSelectedGameObject(_pauseButtonsArray[0]);
     selectionUpdate = DoUpdatePause;
 }
Exemplo n.º 7
0
 void SetModeGameOver()
 {
     EventSystem.current.firstSelectedGameObject = _gameOverButtonsArray[0];
     EventSystem.current.SetSelectedGameObject(_gameOverButtonsArray[0]);
     selectionUpdate = DoUpdateGameOver;
 }
Exemplo n.º 8
0
 public FakeActionNode(DelAction action, DecisionTree tree)
     : base(action, tree)
 {
 }
Exemplo n.º 9
0
 public ActionNode(DelAction action, DecisionTree tree)
 {
     this.action = action;
     this.tree = tree;
 }
Exemplo n.º 10
0
 public WsState SetAction(DelAction action)
 {
     Action = action;
     return(this);
 }
Exemplo n.º 11
0
 public virtual void SetModeFree()
 {
     moduleAction = DoActionFree;
 }
Exemplo n.º 12
0
 public virtual void SetModeNormal()
 {
     moduleAction = DoActionNormal;
 }
Exemplo n.º 13
0
 public virtual void SetModeVoid()
 {
     moduleAction = DoActionVoid;
 }
Exemplo n.º 14
0
 public void SetupDelagate(DelAction d)
 {
     act = d;
 }
Exemplo n.º 15
0
 public ActionSource(DelAction action, GetPrice getPrice)
 {
     this.action = action;
     this.getPrice = getPrice;
     state = new ActiveState();
 }
Exemplo n.º 16
0
        ActiveState state; // about which town, hexa etc it is about

        #endregion Fields

        #region Constructors

        public ActionSource(DelAction action, PriceKind price)
            : this(action, () => { return price;})
        {
        }