Skip to content

Commit 204551e

Browse files
committed
Change base type to struct
1 parent fe676e6 commit 204551e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GateEngine/ECS/StateMachine/StateMachineComponent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public final class StateMachineComponent: Component {
1414
return stateMachine.currentState
1515
}
1616

17-
final class NoState: State {
17+
struct NoState: State {
1818
init() { }
1919
func apply(to entity: Entity, previousState: some State, context: ECSContext, input: HID) { }
2020
func update(for entity: Entity, inContext context: ECSContext, input: HID, withTimePassed deltaTime: Float) { }

0 commit comments

Comments
 (0)