loop through enemy types for testing

This commit is contained in:
ethan merchant 2024-12-16 07:07:27 -05:00
parent 055513d61d
commit c4989222d3

View file

@ -103,9 +103,7 @@ static class Arts
// ); // );
// enemy // enemy
Vec3 enemy_pos = V.XYZ(SKMath.Sin(Time.Totalf * 1f) * 1.0f, 0.5f, -3.0f); Enemy enemy_test = Mono.enemy_types[(int)(Time.Totalf % Mono.enemy_types.Length)];
float enemy_rad = 0.5f;
Mesh.Sphere.Draw(
mat_unlit, mat_unlit,
Matrix.TS(enemy_pos, enemy_rad * 2.0f), Matrix.TS(enemy_pos, enemy_rad * 2.0f),
Color.Hex(0x13180AFF).ToLinear() Color.Hex(0x13180AFF).ToLinear()