face override hierarchy system with new face to indicate grow buffer > 0

This commit is contained in:
ethan merchant 2024-11-21 15:53:05 -05:00
parent 91b91d9a4f
commit 4762ebc184

View file

@ -120,7 +120,9 @@ static class Arts
); );
} }
string face = food_next ? "Face1Eat" : "Face0Default"; string face = "Face0Default";
face = Mono.grow_buffer > 0 ? "Face2Eaten" : face;
face = food_next ? "Face1Eat" : face;
meshes[face].Draw( meshes[face].Draw(
mat_mono, mat_mono,
Matrix.TRS( Matrix.TRS(