abstract class Mallofneeds::Item

Included Modules

Direct Known Subclasses

Defined in:

mallofneeds.cr

Constructors

Instance Method Summary

Constructor Detail

def self.create_random(position) : Item #

[View source]
def self.new(lifetime : Int32, price : Int32, fun __arg0 : Int32, health : Int32, position, texture_rect) #

[View source]

Instance Method Detail

def collision_rect #

[View source]
def draw(target, states) #

[View source]
def expired? #

[View source]
def fun : Int32 #

[View source]
def health : Int32 #

[View source]
def price : Int32 #

[View source]