Skip to content

Commit

Permalink
Merge pull request #52 from rrbox/hotfix/typealias
Browse files Browse the repository at this point in the history
後方互換のサポート
  • Loading branch information
rrbox authored Feb 11, 2022
2 parents a00c24d + ff005eb commit b637c78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/SKNodeBuilder/Builder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ final public class UnownedNodeBuilder<Body: SKNode>: NSObject, BuilderProtocol {

}

/// 後方互換性のサポート.
///- attention: v3.1.3 以降は非推奨となります.
public typealias ChildNodeBuilder = UnownedNodeBuilder

public extension BuilderProtocol {

@discardableResult func add<Node: SKNode>(child builer: Builder<Node>) -> Self {
Expand Down

0 comments on commit b637c78

Please sign in to comment.