예제 #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
파일: WsState.cs 프로젝트: michaelgx2/wnmai
 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;})
        {
        }