Skip to content

Commit

Permalink
Merge pull request #26 from rrbox/hotfix/physicsbody
Browse files Browse the repository at this point in the history
physicsBody メソッドにアクセスできないバグを修正
  • Loading branch information
rrbox authored Jan 1, 2022
2 parents fa4b222 + f05d739 commit be1c2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SKNodeBuilder/Builder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ final public class Builder<Body: SKNode>: NSObject {
self.body.name = name
return self
}
@discardableResult func physicsBody(_ physicsBody: SKPhysicsBody?) -> Self {
@discardableResult public func physicsBody(_ physicsBody: SKPhysicsBody?) -> Self {
self.body.physicsBody = physicsBody
return self
}
Expand Down

0 comments on commit be1c2a6

Please sign in to comment.