From 645d9cc3ac54219e08218ef9b347815a71565926 Mon Sep 17 00:00:00 2001 From: Amir Rajan Date: Sun, 6 Dec 2020 09:40:36 -0600 Subject: Update readme.md --- readme.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'readme.md') 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 +``` -- cgit v1.2.3