class Buzzle::Floor::Ice

Defined in:

buzzle/floor/ice.cr

Constructors

Instance Method Summary

Instance methods inherited from class Buzzle::Floor::Base

block_slide? block_slide?, collidable? collidable?, draw(screen_x, screen_y) draw, entities entities, layer layer, traversable? traversable?

Constructor methods inherited from class Buzzle::Floor::Base

new(x, y, z = 0, sprite = "floor", direction = Direction::Down, width = Game::GRID_SIZE, height = Game::GRID_SIZE, hidden = false) new

Instance methods inherited from class Buzzle::SpriteEntity

draw(screen_x, screen_y, x = x, y = y, center_x = true, center_y = true, frame = 0, row = 0, rotation = 0, tint = Color::White) draw, draw_partial(screen_x, screen_y, x = x, y = y, source_width = width, source_height = height, frame = 0, row = 0, rotation = 0, tint = Color::White) draw_partial, source_height : Int32 | Nil source_height, source_height=(source_height : Int32 | Nil) source_height=, source_width : Int32 | Nil source_width, source_width=(source_width : Int32 | Nil) source_width=, sprite : Sprite sprite

Constructor methods inherited from class Buzzle::SpriteEntity

new(sprite, x : Int32, y : Int32, z : Int32 = 0, width = nil, height = nil, direction = Direction::Down, hidden = false) new

Instance methods inherited from class Buzzle::Entity

action(_entity : Entity) action, actionable? actionable?, actionable_condition?(entity : Entity) actionable_condition?, ascend ascend, descend descend, draw(screen_x, screen_y) draw, entities entities, lift(amount) lift, lift_stopped lift_stopped, liftable? liftable?, lifting? : Bool lifting?, light_radius light_radius, light_shadow_extension light_shadow_extension, light_source? light_source?, traversable? traversable?, trigger?(entity : Entity) trigger?, trigger_facing?(entity : Entity, opposite = false) trigger_facing?, update(frame_time, _entities)
update(_frame_time)
update
, update_visibility(visibilities : Array(Visibility))
update_visibility(visibility : Visibility)
update_visibility

Constructor methods inherited from class Buzzle::Entity

new(x : Int32 = 0, y : Int32 = 0, z : Int32 = 0, width : Int32 = 0, height : Int32 = 0, direction = Direction::Down, hidden = false) new

Instance methods inherited from class Buzzle::Obj

collidable? collidable?, collision?(x, y, width, height)
collision?(objs : Array(Obj))
collision?(obj : Obj)
collision?
, collisions(objs : Array(Obj)) collisions, direction : Direction direction, directional_collision?(objs : Array(Obj), direction : Direction)
directional_collision?(obj : Obj, direction : Direction)
directional_collision?
, draw(_screen_x, _screen_y) draw, draw_sort(obj : Obj) draw_sort, face(entity) face, facing?(entity : Entity, opposite = false) facing?, height : Int32 height, hidden? : Bool hidden?, hide hide, horz_between?(entity) horz_between?, horz_distance_longer?(entity) horz_distance_longer?, layer layer, remove remove, removed? : Bool removed?, show show, to_s(io) to_s, update(frame_time, _entities)
update(_frame_time)
update
, vert_between?(entity) vert_between?, vert_distance_longer?(entity) vert_distance_longer?, width : Int32 width, x : Int32 x, x_draw x_draw, y : Int32 y, y_draw y_draw, z : Int32 z

Constructor methods inherited from class Buzzle::Obj

new(x : Int32, y : Int32, z : Int32 = 0, width : Int32 = 0, height : Int32 = 0, direction : Buzzle::Direction = Direction::Down, hidden : Bool = false) new

Constructor Detail

def self.new(x, y, z = 0) #

[View source]

Instance Method Detail

def block_slide? #

[View source]
def draw(screen_x, screen_y) #

[View source]