private void PrepareNextShape() { _nextShape = ShapeManager.GetRandomShape(); _nextShape.X = _width / 2; var maxY = _nextShape.ShapeParts.Max(x => x.Y); _nextShape.Y = -maxY; }
public static void Initialize() { _instance = new ShapeManager(); }