GSDL::AnimatedSprite
Inherits GSDL::SpriteBase < GSDL::Directionable < GSDL::Area < GSDL::Collidable < GSDL::Centerable < GSDL::Entity < GSDL::Saveable < GSDL::Tweenable < Reference < Object
Constructors
Instance methods
add(*args, **options)
Sourceadd(*args, **options, &)
Sourcedraw(draw : Draw)
Sourceframe_index(*args, **options)
Sourceframe_index(*args, **options, &)
Sourceframe_index=(arg)
Sourceheight
Sourcepause(*args, **options)
Sourcepause(*args, **options, &)
Sourcepaused?(*args, **options)
Sourcepaused?(*args, **options, &)
Sourceplay(*args, **options)
Sourceplay(*args, **options, &)
Sourceplaying?(*args, **options)
Sourceplaying?(*args, **options, &)
Sourceupdate(dt : Float32)
Base update logic for all sprites.
Returns true if the sprite is on-screen and should continue updating,
or false if the subclass should abort its update.
ALWAYS call return unless super(dt) at the top of your custom update methods.
width
Source