summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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
+```