a cartoon character with a hat and gun