class Mallofneeds::Stage
- Mallofneeds::Stage
- Reference
- Object
Included Modules
- SF::Drawable
Defined in:
mallofneeds.crConstant Summary
-
BG =
[SF::Texture.from_file("media/bg/background_fun.png"), SF::Texture.from_file("media/bg/background.jpg"), SF::Texture.from_file("media/bg/background.png"), SF::Texture.from_file("media/bg/mallsoft.jpg")]
-
TIME_LIMIT =
15
Constructors
Instance Method Summary
- #consume(item)
- #draw(target, states)
- #draw_gui(target)
- #expenses : Int32
- #fun : Int32
- #health : Int32
- #needs_background?
- #needs_item?
- #spawn_random_background
- #spawn_random_item
- #stage_number : Int32
- #time_up?
- #update
- #update_gui
Constructor Detail
def self.new(stage_number : Int32, player : Mallofneeds::Player, money : Int32, debt : Int32)
#