Skip to content

Commit 0ffd878

Browse files
authored
Merge pull request #79 from rrbox/hotfix/typo
fix: typo
2 parents ea09d84 + 431f458 commit 0ffd878

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/ECS/Event/EventStreaming/EventResponder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public extension World {
5050
return self
5151
}
5252

53-
@discardableResult func buildWillSpawnResponder(_ build: (EventResponderBuilder) -> ()) -> World {
53+
@discardableResult func buildWillDespawnResponder(_ build: (EventResponderBuilder) -> ()) -> World {
5454
self.buildCommandsEventResponder(WillDespawnEvent.self, build)
5555
return self
5656
}

Sources/ECS/World/World.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public struct Entities {
3131
- ``World/addEventStreamer(eventType:)``
3232
- ``World/buildEventResponder(_:_:)``
3333
- ``World/buildDidSpawnResponder(_:)``
34-
- ``World/buildWillSpawnResponder(_:)``
34+
- ``World/buildWillDespawnResponder(_:)``
3535

3636
### 起動
3737

0 commit comments

Comments
 (0)