summaryrefslogtreecommitdiffhomepage
path: root/readme.md
diff options
context:
space:
mode:
authorAmir Rajan <[email protected]>2020-12-06 09:40:36 -0600
committerGitHub <[email protected]>2020-12-06 09:40:36 -0600
commit645d9cc3ac54219e08218ef9b347815a71565926 (patch)
treeb73105ed8a845e988a09c300ba8aa85fc83404ec /readme.md
parent7040f8ccd4c2d83d3167b665b43b55ba05f421aa (diff)
downloaddragonruby-game-toolkit-contrib-645d9cc3ac54219e08218ef9b347815a71565926.tar.gz
dragonruby-game-toolkit-contrib-645d9cc3ac54219e08218ef9b347815a71565926.zip
Update readme.md
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md19
1 files changed, 10 insertions, 9 deletions
diff --git a/readme.md b/readme.md
index 8460888..50c8916 100644
--- a/readme.md
+++ b/readme.md
@@ -25,14 +25,15 @@ DragonRuby
|
+- dragon/
| |
- | +- index.rb
- | +- other source files
- |
- +- experimental/
- |
- + index.rb
-
+ | +- docs.rb
+ | +- [other source files]
```
-5. Open `main.rb` and add the following to the top of the file: `require "app/dragonruby-game-toolkit-contrib/dragon/index.rb"`.
-6. If you are feeling adventurous also add `require "app/dragonruby-game-toolkit-contrib/experimental/index.rb"`.
+5. Open `main.rb` and add the source file you want to edit. For example, if you want to edit `docs.rb`, your `mygame/main.rb` would look like this:
+
+```ruby
+require 'app/dragonruby-game-toolkit-contrib/dragon/docs.rb'
+
+def tick args
+end
+```