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); }
public CInput(CField field) { this.field = field; CGame.Input.registerObserver(this, 0); }
public CMatcher(CField field) : base(field) { }
public CAi(CField field) { this.field = field; }
public CSearcher(CField controller) : base(controller) { }
public CFieldHandler(CField field) { this.field = field; }