summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmir Rajan <[email protected]>2019-09-07 15:57:30 -0500
committerGitHub <[email protected]>2019-09-07 15:57:30 -0500
commit6d2b989b99ccec43f895d3fca038a2184e8bf7d5 (patch)
tree051860eec62ab77a1466db6a0fd62cf46bcba330
parente6240c983f2fdb56ab55cd6a653361e38c53297f (diff)
parent1bef7f5bf4b41116d71d9b22824b1d352586c598 (diff)
downloaddragonruby-game-toolkit-contrib-6d2b989b99ccec43f895d3fca038a2184e8bf7d5.tar.gz
dragonruby-game-toolkit-contrib-6d2b989b99ccec43f895d3fca038a2184e8bf7d5.zip
Merge pull request #3 from pusewicz/fix-label-class-example
Specify correct attribute accessors
-rw-r--r--deploy_template/mygame/documentation/02-labels.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy_template/mygame/documentation/02-labels.md b/deploy_template/mygame/documentation/02-labels.md
index a7a729c..2adf5e1 100644
--- a/deploy_template/mygame/documentation/02-labels.md
+++ b/deploy_template/mygame/documentation/02-labels.md
@@ -108,7 +108,7 @@ Here is an example:
```ruby
# Create type with ALL sprite properties AND primitive_marker
class Label
- attr_accessor :x, :y, :text, :size, :alignment, :r, :g, :b, :a
+ attr_accessor :x, :y, :text, :size_enum, :alignment_enum, :font, :r, :g, :b, :a
def primitive_marker
:label