Ejemplo n.º 1
0
        private void PrepareNextShape()
        {
            _nextShape   = ShapeManager.GetRandomShape();
            _nextShape.X = _width / 2;
            var maxY = _nextShape.ShapeParts.Max(x => x.Y);

            _nextShape.Y = -maxY;
        }
Ejemplo n.º 2
0
 public static void Initialize()
 {
     _instance = new ShapeManager();
 }