File tree Expand file tree Collapse file tree
src/main/kotlin/org/scratchapi/scratchdsl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,18 +5,25 @@ package org.scratchapi.scratchdsl
55import kotlinx.serialization.encodeToString
66import kotlinx.serialization.json.*
77
8+ /* * Creates a [SpecialLocation] corresponding to the sprite. */
89val SpriteBuilder .specialLocation get() = SpecialLocation .of(name)
910
11+ /* * Creates a [CloneTarget] corresponding to the sprite. */
1012val SpriteBuilder .cloneTarget get() = CloneTarget .of(name)
1113
14+ /* * Creates a [TouchObject] corresponding to the sprite. */
1215val SpriteBuilder .touchObject get() = TouchObject .of(name)
1316
17+ /* * Creates a [DistanceObject] corresponding to the sprite. */
1418val SpriteBuilder .distanceObject get() = DistanceObject .of(name)
1519
20+ /* * Creates a [PropertyTarget] corresponding to the sprite. */
1621val SpriteBuilder .propertyTarget get() = PropertyTarget .of(name)
1722
23+ /* * Creates a [Property] corresponding to the variable. */
1824val VariableLike .property get() = Property .of(name)
1925
26+ /* * Creates a [SensingKey] corresponding to the [KeyboardKey] instance. */
2027val KeyboardKey .sensingKey get() = SensingKey .of(this )
2128
2229abstract class NormalShadowExpressionShouldCopy (opcode : String? ) : NormalShadowExpression(opcode), ShadowShouldCopy {
You can’t perform that action at this time.
0 commit comments