Factor out the hat collection to an interface
Make enemies collect loose hats