Remove GameObject#inflictDamage() so that it will not be part of the C++ code anymore. Simply delivering the event along with context to the script will allow us to later implement bosses whose self created minions deliver the damage to itself. Check to also update current brains to perform the same logic that GameObject#inflictDamage() was performing.
Remove GameObject#inflictDamage() so that it will not be part of the C++ code anymore. Simply delivering the event along with context to the script will allow us to later implement bosses whose self created minions deliver the damage to itself. Check to also update current brains to perform the same logic that GameObject#inflictDamage() was performing.