EDG4B7IL2WIPRIMXL6FPHIX7ILWLW5XVK3TCC4W7GZVCBYDGDCGQC
RZSX4GSCSV7DCHIKOFVDKE3O422UHXAK6SC6NVHB4RVRGABXE3CQC
IEIGPZX5EPC53HLOUWW4DIMH5ENIYM4Z6DJ4WGIYJZZQBWW6EIYAC
3MQ355XGKT5IYOMZLREAHLPVO5MFOXOJBEZ5UOPTQPMHIYBFGXGQC
4AIZWKPNXO7END5OUYYHJ456W22EXOVXHD3UQ7CN5TP5TOLWWLOQC
7IHSR5JCC3ZWXNWAJCIQC26475GODBBWVQLAZZVLC7BVAB5XUVHAC
C5NQRZUVUGOUUYZ6MFISXRM5NBSF7YY6GY5W5T2Z7XWVND57ZNKQC
fn update_heat_color(mut colors: Query<(&Heat, &mut ShapeColors), (With<Player>, Changed<Heat>)>) {
for (heat, mut colors) in colors.iter_mut() {
// TODO: make it work
let percent = heat.amount;
colors.main = Color::RED * percent + Color::MIDNIGHT_BLUE * (1. - percent);
}
}