Ejemplo n.º 1
0
 public Cube(Square[] squares)
 {
     _squares    = squares;
     ActiveLayer = CubeLayerCriteria.Get(Axis.X, AxisLandmark.Max);
     State       = CubeState.Ready;
     _autoTween  = new Tween(Easing.CubicOut, 0, val => FreeRotateTotalAngle = val, MathHelper.PiOver2, 0.25f);
     _snapTween  = new Tween(Easing.CubicOut, 0, val => FreeRotateTotalAngle = val, 0, 0.125f);
 }