class GameObject
- GameObject
- Reference
- Object
Defined in:
game_object.crConstructors
Instance Method Summary
- #create_source_rect(x : Int32, y : Int32, w : Int32, h : Int32)
- #draw(renderer : Pointer(LibSDL::Renderer))
- #free
- #height : Int32
- #height=(height : Int32)
- #load(renderer : Pointer(LibSDL::Renderer))
- #width : Int32
- #width=(width : Int32)
- #x_pixel : Int32
- #x_pixel=(x_pixel : Int32)
- #x_tile : Int32
- #x_tile=(x_tile : Int32)
- #y_pixel : Int32
- #y_pixel=(y_pixel : Int32)
- #y_tile : Int32
- #y_tile=(y_tile : Int32)
Constructor Detail
def self.new(x : Int32, y : Int32, spr_width : Int32, spr_height : Int32, texture_path : String)
#