public void Gather(IServerEntity entity)
            {
                var e = (SpaceShipServerBase)entity;

                Data     = e.Data;
                Snapshot = e.OnSnapshot();
            }
Beispiel #2
0
 public override void OnSnapshot(SpaceShipSnapshot snapshot)
 {
     Console.WriteLine($"Client.OnSnapshot({snapshot.Name})");
 }
 public abstract void OnSnapshot(SpaceShipSnapshot snapshot);