Swift Playgroundsを初めてみる(LEARN TO CODE1)
「Swift Playgrounds」ではまず何をしてよいのかわかりませんでちょっとLEARN TO CODE・・・
「ITトラブル支援」のカテゴリー「Swift Playgrounds」の記事一覧です
「Swift Playgrounds」の記事一覧
「Swift Playgrounds」ではまず何をしてよいのかわかりませんでちょっとLEARN TO CODE・・・
1 2 3 |
Instructs the character to toggle a switch on the current tile. Declaration func toggleSwitch() |
1 2 3 |
Condition that checks if the character is on a tile with an open switch on it. Declaration var isOnOpenSwitch: Bool { get } |
1 2 3 |
Condition that checks if the character is on a tile with a gem on it. Declaration var isOnGem: Bool { get } |
1 2 3 |
Condition that checks if the character is on a tile with a closed switch on it. Declaration var isOnClosedSwitch: Bool { get } |
1 2 3 |
Condition that checks if the character is blocked from moving forward in the current direction. Declaration var isBlocked: Bool { get } |
1 2 3 |
Instructs the character to collect a gem on the current tile. Declaration func collectGem() |
Copyright (C) 2021 ITトラブル支援 All Rights Reserved.