예제 #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);
        }
예제 #2
0
        public CInput(CField field)
        {
            this.field = field;

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