Simple state machine for Sprite Kit scenes in Swift