Exemplo n.º 1
0
 public void UpdateEntityFoV(string uid, int fov)
 {
     if (!Tabletop.IsGameMaster)
     {
         Entity entity = Tabletop.GetEntityByUID(uid);
         if (entity != null)
         {
             entity.FoV = fov;
         }
         JSRuntime.InvokeVoidAsync("SetEntityFoV", uid, fov);
     }
 }