pass player record as argument for enemy filtering functiokns, so enemy can react to player state (position, etc.)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user