class NEStley::Container

Direct Known Subclasses

Defined in:

entity/container.cr

Constructors

Instance Method Summary

Instance methods inherited from class NEStley::Rect

background_color : Int32 background_color, background_color=(background_color : Int32) background_color=, color_at(x, y) : UInt32 color_at, drawn! drawn!, height : UInt32 height, height=(height : UInt32) height=, needs_redraw : Bool needs_redraw, needs_redraw=(needs_redraw : Bool) needs_redraw=, needs_redraw? : Bool needs_redraw?, set_background(color : Int32) set_background, wants_coord?(x, y) : Bool wants_coord?, width : UInt32 width, width=(width : UInt32) width=, x : Int32 x, x=(x : Int32) x=, y : Int32 y, y=(y : Int32) y=

Constructor methods inherited from class NEStley::Rect

new(width : UInt32, height : UInt32, x : Int32 = 0, y : Int32 = 0, background_color : Int32 = 11184640) new

Instance methods inherited from class NEStley::Entity

color_at(x, y) : UInt32 color_at, drawn! drawn!, needs_redraw? : Bool needs_redraw?, wants_coord?(x, y) : Bool wants_coord?

Constructor Detail

def self.new(width, height, x = 0, y = 0, background_color = 11184640) #

[View source]

Instance Method Detail

def <<(entity : Entity) #

[View source]
def color_at(x, y) : UInt32 #

[View source]
def drawn! #

[View source]
def entities : Array(Entity) #

[View source]
def entities=(entities : Array(Entity)) #

[View source]
def needs_redraw? : Bool #

[View source]
def wants_coord?(x, y) : Bool #

[View source]