state(forClass:) Declarationfunc state<StateType>(forClass stateClass: StateType.Type) -> StateType? where StateType : GKState