class Mallofneeds::Item::Medicine

Defined in:

mallofneeds.cr

Constant Summary

CATEGORY_ID = 0
FUN = 0
HEALTH = 30

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]