コード例 #1
0
 public FrameState Merge(FrameState other)
 {
     if (other.Input.HasValue)
     {
         Input = other.Input;
     }
     if (other.Position.HasValue)
     {
         Position = other.Position;
     }
     return(this);
 }
コード例 #2
0
ファイル: Server.cs プロジェクト: alex-sherman/NetcodePeering
 public void Handle(IListener source, FrameState state)
 {
     Messages.Push(state.Frame, state);
 }