示例#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;
 }