Made 'TakeDamage' a polymorphic function in entity
Merged master and made soundeffect Hit inherited from Entity and called in 'TakeDamage' function