Cooking changes the structure of the protein, in eggs its ok, your college bio teacher used the egg as an example, and some of the amino acids actually become more usable by the body. However cooking some proteins is bad, like whey it destroys some of the aminos.
Ever tried uncooking an egg?