diff options
| author | Amir Rajan <[email protected]> | 2019-09-07 15:57:30 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-09-07 15:57:30 -0500 |
| commit | 6d2b989b99ccec43f895d3fca038a2184e8bf7d5 (patch) | |
| tree | 051860eec62ab77a1466db6a0fd62cf46bcba330 | |
| parent | e6240c983f2fdb56ab55cd6a653361e38c53297f (diff) | |
| parent | 1bef7f5bf4b41116d71d9b22824b1d352586c598 (diff) | |
| download | dragonruby-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.md | 2 |
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 |
