Golem

A golem is an enemy that can move and can launch a projectile to the player.

A golem appears in if a player arrives in a new room of the castle.

A golem has a defined position and has a defined path which it won't deviate until the player appears in its detection area.

When a turret appears, it starts to aim (and rotate) to the player, every 5 seconds the golem shoots the player.

If the player touches the weak point with its projectile, the golem is killed by the player.

The golem stops its attack phase when the player leaves its detection area.