示例#1
0
 public void BindAction(DelAction _DelMoveUp, DelAction _DelMoveDown, DelAction _DelDelete, DelAction _DelTimeChanged)
 {
     DelMoveUp      = _DelMoveUp;
     DelMoveDown    = _DelMoveDown;
     DelDelete      = _DelDelete;
     DelTimeChanged = _DelTimeChanged;
 }
示例#2
0
文件: Module.cs 项目: Valefors/SHMUP
 public virtual void SetDeathMode()
 {
     moduleAction = DoActionVoid;
     CreateParticleDamage();
     transform.SetParent(null);
     Destroy(this.gameObject);
 }
示例#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"); };
 }
示例#4
0
 public void BindAction(DelAction _DelAddItem)
 {
     DelAddItem = _DelAddItem;
 }
示例#5
0
 //System D "public"
 public void SetModeMenu()
 {
     EventSystem.current.firstSelectedGameObject = _menuButtonsAray[0];
     EventSystem.current.SetSelectedGameObject(_menuButtonsAray[0]);
     selectionUpdate = DoUpdateMenu;
 }
示例#6
0
 void SetModePause()
 {
     EventSystem.current.firstSelectedGameObject = _pauseButtonsArray[0];
     EventSystem.current.SetSelectedGameObject(_pauseButtonsArray[0]);
     selectionUpdate = DoUpdatePause;
 }
示例#7
0
 void SetModeGameOver()
 {
     EventSystem.current.firstSelectedGameObject = _gameOverButtonsArray[0];
     EventSystem.current.SetSelectedGameObject(_gameOverButtonsArray[0]);
     selectionUpdate = DoUpdateGameOver;
 }
示例#8
0
 public FakeActionNode(DelAction action, DecisionTree tree)
     : base(action, tree)
 {
 }
示例#9
0
 public ActionNode(DelAction action, DecisionTree tree)
 {
     this.action = action;
     this.tree = tree;
 }
示例#10
0
 public WsState SetAction(DelAction action)
 {
     Action = action;
     return(this);
 }
示例#11
0
文件: Module.cs 项目: Valefors/SHMUP
 public virtual void SetModeFree()
 {
     moduleAction = DoActionFree;
 }
示例#12
0
文件: Module.cs 项目: Valefors/SHMUP
 public virtual void SetModeNormal()
 {
     moduleAction = DoActionNormal;
 }
示例#13
0
文件: Module.cs 项目: Valefors/SHMUP
 public virtual void SetModeVoid()
 {
     moduleAction = DoActionVoid;
 }
示例#14
0
 public void SetupDelagate(DelAction d)
 {
     act = d;
 }
示例#15
0
 public ActionSource(DelAction action, GetPrice getPrice)
 {
     this.action = action;
     this.getPrice = getPrice;
     state = new ActiveState();
 }
示例#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;})
        {
        }