Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace AnimalSimulator.Infrastructure
- {
- public interface IState : IExitableState
- {
- void Enter();
- }
- public interface IPayloadedState<in TPayload> : IExitableState
- {
- void Enter(TPayload payload);
- }
- public interface IExitableState
- {
- void Exit();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment