Example #1
0
        public CModel(CField field)
        {
            CGame.Model.ActivateFirst();

            this.field = field;

            var actionEvents = field.actions.events;

            actionEvents.OnFinish(OnActionsFinished);
            actionEvents.OnBreak((int)EEvents.FreeFall, OnFreeFallBreak);
            actionEvents.OnEnd((int)EEvents.FreeFall, OnFreeFallEnd);
            actionEvents.OnEnd((int)EEvents.Match, OnMatchEnd);
            actionEvents.OnBegin((int)EEvents.Swipe, OnSwipeBegin);
            actionEvents.OnBegin((int)EEvents.SwipeBack, OnSwipeBackBegin);
        }
Example #2
0
        public CInput(CField field)
        {
            this.field = field;

            CGame.Input.registerObserver(this, 0);
        }
Example #3
0
 public CMatcher(CField field) : base(field)
 {
 }
Example #4
0
 public CAi(CField field)
 {
     this.field = field;
 }
Example #5
0
 public CSearcher(CField controller) : base(controller)
 {
 }
Example #6
0
 public CFieldHandler(CField field)
 {
     this.field = field;
 }