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.4 KiB
1 line
3.4 KiB
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"mutating"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removePiece"},{"kind":"text","text":"("},{"kind":"externalParam","text":"column"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"True if the piece can be removed else false"}]}]},{"kind":"parameters","parameters":[{"name":"row ","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The row to remove the piece"}]}]},{"name":"column ","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The column to remove the piece"}]}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/model\/board\/removepiece(column:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Model\/documentation\/Model\/Board\/removePiece(column:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Remove a piece from the grid"}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removePiece"},{"kind":"text","text":"("},{"kind":"externalParam","text":"column"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"title":"removePiece(column:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:5Model5BoardV11removePiece6columnSbSi_tF","modules":[{"name":"Model"}]},"hierarchy":{"paths":[["doc:\/\/Model\/documentation\/Model","doc:\/\/Model\/documentation\/Model\/Board"]]},"references":{"doc://Model/documentation/Model/Board/removePiece(column:)":{"role":"symbol","title":"removePiece(column:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removePiece"},{"kind":"text","text":"("},{"kind":"externalParam","text":"column"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[{"type":"text","text":"Remove a piece from the grid"}],"identifier":"doc:\/\/Model\/documentation\/Model\/Board\/removePiece(column:)","kind":"symbol","type":"topic","url":"\/documentation\/model\/board\/removepiece(column:)"},"doc://Model/documentation/Model/Board":{"role":"symbol","title":"Board","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Board"}],"abstract":[{"type":"text","text":"The board of the Connect 4 game"}],"identifier":"doc:\/\/Model\/documentation\/Model\/Board","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Board"}],"url":"\/documentation\/model\/board"},"doc://Model/documentation/Model":{"role":"collection","title":"Model","abstract":[],"identifier":"doc:\/\/Model\/documentation\/Model","kind":"symbol","type":"topic","url":"\/documentation\/model"}}} |