module StudioGame::TreasureTrove

Constants

TREASURES

This is the array that holds list of treasures. Each element in the treasure is defined as an struct, that have name and point symbol

Public Class Methods

random() click to toggle source
# File lib/studio_game/treasure_trove.rb, line 18
def self.random
        TREASURES.sample
end