Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Resource is a container for loaded configuration and media.
- class Resource
- attr_reader :category, :name, :config, :path
- def initialize(category, name)
- @category, @name = category, name
- parse
- end
- private
- def parse
- end
- end
- # Part is a physical part of the world used to construct Items.
- class Part
- end
- # Item is a complete object that can be placed into the world
- class Item
Add Comment
Please, Sign In to add comment