예제 #1
0
 public CubeWrapper(KYMA_SIFTEO app, Cube cube, int mnumber, int mstate, int motherstate, bool misconnected, bool mhaschanged) : this(app, cube, mnumber, mstate)
 {
     mIsconnected = misconnected;
     mHaschanged  = mhaschanged;
     mOtherstate  = motherstate;
     Log.Debug("connected {0}", misconnected);
 }
예제 #2
0
 public CubeWrapper(KYMA_SIFTEO app, Cube cube)
 {
     mApp               = app;
     mCube              = cube;
     mCube.userData     = this;
     mIndex             = 0;
     mCube.ButtonEvent += OnButton;
     // Here we attach more event handlers for button and accelerometer actions.
     //	mCube.ButtonEvent += OnButton;
     //	mCube.TiltEvent += OnTilt;
     //	mCube.ShakeStartedEvent += OnShakeStarted;
     //	mCube.ShakeStoppedEvent += OnShakeStopped;
     //	mCube.FlipEvent += OnFlip;
 }
예제 #3
0
 public CubeWrapper(KYMA_SIFTEO app, Cube cube, int mnumber, int mstate) : this(app, cube, mnumber)
 {
     mState = mstate;
     Log.Debug("numero du sifteo {0}", mNumber);
 }
예제 #4
0
 public CubeWrapper(KYMA_SIFTEO app, Cube cube, int mnumber) : this(app, cube)
 {
     mNumber = mnumber;
     Log.Debug("numero du sifteo {0}", mNumber);
 }
예제 #5
0
 public Selection(KYMA_SIFTEO kym, List <CubeWrapper> wrapper, CubeSet cubeset)
 {
     Selection_kyma1 = kym;
     mWrappers1      = wrapper;
     cubeset1        = cubeset;
 }