public FrameState Merge(FrameState other) { if (other.Input.HasValue) { Input = other.Input; } if (other.Position.HasValue) { Position = other.Position; } return(this); }
public void Handle(IListener source, FrameState state) { Messages.Push(state.Frame, state); }