Guest User

Untitled

a guest
Feb 11th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.40 KB | None | 0 0
  1. # Resource is a container for loaded configuration and media.
  2. class Resource
  3.  
  4.   attr_reader :category, :name, :config, :path
  5.  
  6.   def initialize(category, name)
  7.     @category, @name = category, name
  8.     parse
  9.   end
  10.  
  11.   private
  12.  
  13.   def parse
  14.    
  15.   end
  16. end
  17.  
  18. # Part is a physical part of the world used to construct Items.
  19. class Part
  20. end
  21.  
  22. # Item is a complete object that can be placed into the world
  23. class Item
Add Comment
Please, Sign In to add comment