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