with creating this cow, how would u go about adding a damage event? would u call the function in the main class or cow class?