예제 #1
0
        protected void OnLightViewAdded(ILightView value)
        {
            LightViewPresenter lvp = new LightViewPresenter(value, mLightState.Lights[sLightIndex]);

            mLightViewPresenters.Add(lvp);
            sLightIndex++;
        }
예제 #2
0
 public LightViewPresenter(ILightView pView, Light pModel)
 {
     mView  = pView;
     mModel = pModel;
 }
예제 #3
0
 void OnColorSet(ILightView value)
 {
     LightView lv = value as LightView;
     EventUtils.FireDualTypedEvent(
         LightUpdate,
         mLightViews.IndexOf(lv),
         lv.Color);
 }
예제 #4
0
 public LightViewPresenter(ILightView pView, Light pModel)
 {
     mView = pView;
     mModel = pModel;
 }
예제 #5
0
 protected void OnLightViewAdded(ILightView value)
 {
     LightViewPresenter lvp = new LightViewPresenter(value, mLightState.Lights[sLightIndex]);
     mLightViewPresenters.Add(lvp);
     sLightIndex++;
 }