summaryrefslogtreecommitdiffhomepage
path: root/deploy_template/mygame/documentation/04-lines.md
diff options
context:
space:
mode:
authorSimon Chiang <[email protected]>2021-04-23 09:46:41 -0600
committerAmir Rajan <[email protected]>2021-05-26 16:08:45 -0500
commitd5115606c96b0fe0affd72e6e0b72edce7e51042 (patch)
tree5d750d974dc947163dc4cb37a0c9bbac9266a207 /deploy_template/mygame/documentation/04-lines.md
parent1404fd05a99cf745c33a4316b9d5e1562083c3ae (diff)
downloaddragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.tar.gz
dragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.zip
Typo fixes
Diffstat (limited to 'deploy_template/mygame/documentation/04-lines.md')
-rw-r--r--deploy_template/mygame/documentation/04-lines.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy_template/mygame/documentation/04-lines.md b/deploy_template/mygame/documentation/04-lines.md
index 03c1abc..20faa44 100644
--- a/deploy_template/mygame/documentation/04-lines.md
+++ b/deploy_template/mygame/documentation/04-lines.md
@@ -35,7 +35,7 @@ args.outputs.lines << [ 0, 360, 1280, 360]
## RGBA - Colors and Alpha
-The value for the color and alpha is an number between `0` and `255`. The
+The value for the color and alpha is a number between `0` and `255`. The
alpha property is optional and will be set to `255` if not specified.
Creates a green horizontal line through the center of the scene with an opacity of 50%.
@@ -75,7 +75,7 @@ args.outputs.lines << {
## Duck Typing (Advanced)
You can also create a class with line properties and render it as a primitive.
-ALL properties must on the class. ADDITIONALLY, a method called `primitive_marker`
+ALL properties must be on the class. ADDITIONALLY, a method called `primitive_marker`
must be defined on the class.
Here is an example: