class Wall

Defined in:

ld43/wall.cr

Constant Summary

INVIS = ""
ROOF = "res/wall-roof.png"
ROOF_TEE = "res/wall-roof-tee.png"
SIDE = "res/wall-side.png"
SIDE_TEE = "res/wall-side-tee.png"

Constructors

Instance Method Summary

Instance methods inherited from class Entity

all_objects all_objects, collides_with(other) collides_with, collides_with_anything collides_with_anything, collision(other : Entity) collision, delete_me : Bool delete_me, delete_me=(delete_me : Bool) delete_me=, draw draw, height : Int32 height, height=(height : Int32) height=, update(dt) update, width : Int32 width, width=(width : Int32) width=, x : Int32 x, x=(x : Int32) x=, y : Int32 y, y=(y : Int32) y=

Constructor methods inherited from class Entity

new(x : Int32, y : Int32) new

Constructor Detail

def self.new(x, y, sprite : String = SIDE) #

[View source]

Instance Method Detail

def draw #

[View source]