I'm messing around with a Flappy Bird clone, and i can't figure out what the meaning of the following code is
let birdCategory: UInt32 = 1 << 0
let worldCategory: UInt32 = 1 << 1
let pipeCategory: UInt32 = 1 << 2
let scoreCategory: UInt32 = 1 << 3
Sorry if this is obvious, i've tried looking for the answer but couldn't find it. Thanks