You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
3.0 KiB

{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"scanner"},{"kind":"text","text":": "},{"kind":"attribute","text":"@escaping"},{"kind":"text","text":" () -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"scanner ","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"scanner method which return an integer"}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Human nickname was “Player” by default"}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/model\/human\/init(scanner:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Model\/documentation\/Model\/Human\/init(scanner:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initialize human player with a scanner method"}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"scanner"},{"kind":"text","text":": () -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"title":"init(scanner:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:5Model5HumanC7scannerACSiyc_tcfc","modules":[{"name":"Model"}]},"hierarchy":{"paths":[["doc:\/\/Model\/documentation\/Model","doc:\/\/Model\/documentation\/Model\/Human"]]},"references":{"doc://Model/documentation/Model/Human":{"role":"symbol","title":"Human","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"Human"}],"abstract":[{"type":"text","text":"Human player of Connec 4 game"}],"identifier":"doc:\/\/Model\/documentation\/Model\/Human","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Human"}],"url":"\/documentation\/model\/human"},"doc://Model/documentation/Model/Human/init(scanner:)":{"role":"symbol","title":"init(scanner:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"scanner"},{"kind":"text","text":": () -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initialize human player with a scanner method"}],"identifier":"doc:\/\/Model\/documentation\/Model\/Human\/init(scanner:)","kind":"symbol","type":"topic","url":"\/documentation\/model\/human\/init(scanner:)"},"doc://Model/documentation/Model":{"role":"collection","title":"Model","abstract":[],"identifier":"doc:\/\/Model\/documentation\/Model","kind":"symbol","type":"topic","url":"\/documentation\/model"}}}