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

            _nextShape.Y = -maxY;
        }
示例#2
0
 public static void Initialize()
 {
     _instance = new ShapeManager();
 }