a cartoon character with a hat and a gun