class FindingMaya::Item

Defined in:

item.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, item_class : ItemClass, texture : Raylib::Texture2D, description : String = "", x : Int32 = 0, y : Int32 = 0) #

[View source]

Instance Method Detail

def description : String #

[View source]
def draw #

[View source]
def equipped : Bool #

[View source]
def equipped=(equipped : Bool) #

[View source]
def item_class : ItemClass #

[View source]
def name : String #

[View source]
def texture : Raylib::Texture2D #

[View source]
def x : Int32 #

[View source]
def x=(x : Int32) #

[View source]
def y : Int32 #

[View source]
def y=(y : Int32) #

[View source]