class FindingMaya::Item
- FindingMaya::Item
- Reference
- Object
Defined in:
item.crConstructors
Instance Method Summary
- #description : String
- #draw
- #equipped : Bool
- #equipped=(equipped : Bool)
- #item_class : ItemClass
- #name : String
- #texture : Raylib::Texture2D
- #x : Int32
- #x=(x : Int32)
- #y : Int32
- #y=(y : Int32)
Constructor Detail
def self.new(name : String, item_class : ItemClass, texture : Raylib::Texture2D, description : String = "", x : Int32 = 0, y : Int32 = 0)
#