Compare commits

..

1 Commits

Author SHA1 Message Date
fa1449b412 add basic heat transfer #4 2022-12-07 00:35:12 +00:00

View File

@ -151,5 +151,13 @@ public class WorldGrid : Node2D
_nextValues[x, y] = TransferHeat(t, D, nx, ny, px, py);
}
}
for (int x = 0; x < Size; x++)
{
for (int y = 0; y < Size; y++)
{
_tiles[x, y].value = _nextValues[x, y];
}
}
}
}