Hi there,
I have a Class called PlayerBehavior, and another class called EnemyBehavior.
Inside PlayerBehavior, I have a method called LowerHealth().
How do I call LowerHealth from within EvemyBehavior? I want to make a simple code where if the enemy jumps, the player loses some health.
Thanks in advance!!