class Mallofneeds::Item::Disc

Defined in:

mallofneeds.cr

Constant Summary

CATEGORY_ID = 2
FUN = 30
HEALTH = 0

Constructors

Instance methods inherited from class Mallofneeds::Item

collision_rect collision_rect, draw(target, states) draw, expired? expired?, fun : Int32 fun, health : Int32 health, price : Int32 price

Constructor methods inherited from class Mallofneeds::Item

create_random(position) : Item create_random, new(lifetime : Int32, price : Int32, fun __arg0 : Int32, health : Int32, position, texture_rect) new

Constructor Detail

def self.new(lifetime, price, position) #

[View source]