Hi Team,
Could you help me to implement a code in my game.
There is Enemy, Player and Home. Enemy has LOS behaviour
1. If the enemy has LOS with player then enemy will attack player
2. If the player is not in the LOS then player can hide in the home
3. If the player is in the LOS of the enemy, even if he tries to hide in the home, he
cannot. Enemy will see that he is hiding and will attack