Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
garnet-tween
master
Garnet
Tween
EaseIn
EaseInOut
EaseOut
Linear
Built with Crystal 1.9.2
2023-10-07 16:06:42 UTC
abstract class
Garnet::Tween
Garnet::Tween
Reference
Object
Direct Known Subclasses
Garnet::Tween::EaseIn
Garnet::Tween::EaseInOut
Garnet::Tween::EaseOut
Garnet::Tween::Linear
Defined in:
tween.cr
Constructors
.new
(duration : Float32)
Instance Method Summary
#calc
(lf)
#complete?
#fraction
#linear_fraction
#update
(delta_time)
Constructor Detail
def self.
new
(duration : Float32)
#
[
View source
]
Instance Method Detail
abstract def
calc
(lf)
#
[
View source
]
def
complete?
#
[
View source
]
def
fraction
#
[
View source
]
def
linear_fraction
#
[
View source
]
def
update
(delta_time)
#
[
View source
]