Skip to content

Commit b500d3a

Browse files
committed
Make public
1 parent 322a9ef commit b500d3a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/GateEngine/ECS/StateMachine/StateMachineComponent.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ public final class StateMachineComponent: Component {
1414
return stateMachine.currentState
1515
}
1616

17-
struct NoState: State {
18-
init() { }
19-
func apply(to entity: Entity, previousState: some State, context: ECSContext, input: HID) { }
20-
func update(for entity: Entity, inContext context: ECSContext, input: HID, withTimePassed deltaTime: Float) { }
21-
func possibleNextStates(for entity: Entity, context: ECSContext, input: HID) -> [any State.Type] {
17+
public struct NoState: State {
18+
public init() { }
19+
public func apply(to entity: Entity, previousState: some State, context: ECSContext, input: HID) { }
20+
public func update(for entity: Entity, inContext context: ECSContext, input: HID, withTimePassed deltaTime: Float) { }
21+
public func possibleNextStates(for entity: Entity, context: ECSContext, input: HID) -> [any State.Type] {
2222
return []
2323
}
2424
}

0 commit comments

Comments
 (0)