Game::SpriteEntity
Inherits Game::Entity < Reference < Object
Constructors
new(x : Float32 | Int32, y : Float32 | Int32, sprite_name, width = nil, height = nil, rotation : Float32 | Int32 = 0)
SourceInstance methods
draw(parent_x = 0, parent_y = 0)
Sourceheight
Sourceheight=(height : Int32 | Float32)
Sourcepause(*args, **options)
Sourcepause(*args, **options, &)
Sourcerestart(*args, **options)
Sourcerestart(*args, **options, &)
Sourcerotation
Sourcerotation=(rotation : Int32 | Float32)
Sourcestart(*args, **options)
Sourcestart(*args, **options, &)
Sourceupdate(frame_time)
Sourcewidth
Sourcewidth=(width : Int32 | Float32)
Sourcex=(x : Int32 | Float32)
Sourcey=(y : Int32 | Float32)
Source