Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Martin Kolb

2
Posts
1
Following
A member registered Apr 19, 2019

Recent community posts

Like in RubyMotion I would prefer if all .rb files in the app/ folder and its subfolders were included automatically.

If you want to get the available methods of a class you could do this:

def tick args
  # do this only once
  if args.game.tick_count == 1
    # print class of args.grid object
    puts "The class of args.grid is: #{args.grid.class}"
    # print all methods of args.grid object
    puts args.grid.methods.sort.join("\n")
  end
end