diff --git a/Sources/RoughSwift/Engine/Drawable.swift b/Sources/RoughSwift/Engine/Drawable.swift index 752d174..be15298 100644 --- a/Sources/RoughSwift/Engine/Drawable.swift +++ b/Sources/RoughSwift/Engine/Drawable.swift @@ -23,6 +23,14 @@ public struct Line: Drawable { let from: Point let to: Point + + public init( + from: Point, + to: Point + ) { + self.from = from + self.to = to + } } public struct Rectangle: Drawable {