class

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)
Source

Instance methods

draw(parent_x = 0, parent_y = 0)
Source
height
Source
height=(height : Int32 | Float32)
Source
pause(*args, **options)
Source
pause(*args, **options, &)
Source
restart(*args, **options)
Source
restart(*args, **options, &)
Source
rotation
Source
rotation=(rotation : Int32 | Float32)
Source
start(*args, **options)
Source
start(*args, **options, &)
Source
update(frame_time)
Source
width
Source
width=(width : Int32 | Float32)
Source
x=(x : Int32 | Float32)
Source
y=(y : Int32 | Float32)
Source