x) minor renames

This commit is contained in:
Marc Hernandez 2024-04-07 19:21:52 -07:00
parent cf519ce865
commit e656e46e7c

View File

@ -28,6 +28,8 @@ public record class State<T, CTX> : imm.Recorded<State<T, CTX>>
}
}
public record class FSM<T, CTX, ST> : imm.Recorded<FSM<T, CTX, ST>>
where T : FSM<T, CTX, ST>
where CTX : Context
@ -36,10 +38,10 @@ public record class FSM<T, CTX, ST> : imm.Recorded<FSM<T, CTX, ST>>
public CTX Context { get; private set; }
public ST State { get; private set; }
public FSM(CTX context, ST state)
public FSM( CTX context, ST stStart )
{
Context = context;
State = state;
State = stStart;
}
public FSM<T, CTX, ST> Transition(ST newState)