pass player record as argument for enemy filtering functiokns, so enemy can react to player state (position, etc.)

This commit is contained in:
2025-01-16 08:15:29 +00:00
parent 0c01b224d0
commit a05f211428
3 changed files with 60 additions and 12 deletions

View File

@@ -112,7 +112,8 @@ struct
end
fun getVariantPatches (enemy, walls, wallTree, platforms, platformTree, acc) =
fun getVariantPatches
(enemy, walls, wallTree, platforms, platformTree, player, acc) =
let
open EnemyVariants
in