class Buzzle::Visibility

Defined in:

buzzle/visibility.cr

Constructors

Instance Method Summary

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, state : Buzzle::Visibility::State = State::Shadow) #

[View source]

Instance Method Detail

def dark! #

[View source]
def dark?(*args, **options) #

[View source]
def dark?(*args, **options, &) #

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

[View source]
def shadow! #

[View source]
def shadow?(*args, **options) #

[View source]
def shadow?(*args, **options, &) #

[View source]
def visible! #

[View source]
def visible?(*args, **options) #

[View source]
def visible?(*args, **options, &) #

[View source]