Well, I was wondering if is possible... (I mean yes, because I've seen before around there) to make a hash with differents objects belong to 1 master object, and return these values and print them.
Something like this:
And after, show these results:
Think about a selectable scene, when each command is a index of the Something::Meph
That was only an 'IDEA' of what that I want..
Well, that is my question.. Thanks for asnwer it.
Something like this:
Code:
module Something
Meph = {'name' => ['Icon', 'Variable', 'Description']}
end
And after, show these results:
Think about a selectable scene, when each command is a index of the Something::Meph
Code:
index = @command_index[Something::Meph[index]]
self.contents.draw_text(4, 32, 120, 32, name[@index], 2)
self.contents.draw_text(4, 100, 120, 32, icon[@index], 2)
self.contents.draw_text(4, 32, 120, 32, variable[@index], 2)
That was only an 'IDEA' of what that I want..
Well, that is my question.. Thanks for asnwer it.