class Glove::Components::Texture

Defined in:

components/texture.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Glove::Component

update(entity, delta_time, space, app) update

Constructor Detail

def self.new(path : String, width : Float32 = 1_f32, height : Float32 = 1_f32, offset_x : Float32 = 0_f32, offset_y : Float32 = 0_f32) #

[View source]

Class Method Detail

def self.sym #

[View source]

Instance Method Detail

def height : Float32 #

[View source]
def offset_x : Float32 #

[View source]
def offset_y : Float32 #

[View source]
def path=(path : String) #

[View source]
def quad #

[View source]
def texture #

[View source]
def width : Float32 #

[View source]