Beispiel #1
0
 private void MapOnOnTileUpdated(object sender, TileUpdateEventArgs e)
 {
     WsServer.BroadcastTileUpdate(new TileUpdatePacket()
     {
         LayerId = e.LevelId + "_" + e.LayerId,
         Tile    = new Tile()
         {
             X    = e.TileX,
             Y    = e.TileY,
             Zoom = e.TileZoom
         }
     });
 }