Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
garnet-ecs
master
Garnet
Action
Actions
Delay
Instant
Interval
Kill
Lambda
Parallel
Sequence
Component
Entity
System
Systems
Lambda
PriorityQueue
Generated using Crystal 1.10.1
2024-01-09 18:51:03 UTC
class
Garnet::
Actions::
Lambda
Garnet::Actions::Lambda
Garnet::Action
Reference
Object
Defined in:
actions/lambda.cr
Constructors
.new
(&block : Float32 -> )
Instance Method Summary
#done=
(done : Bool)
#done?
: Bool
#update
(delta_time)
#update_wrapped
(delta_time : Float32)
Instance methods inherited from class
Garnet::Action
done? : Bool
done?
,
duration
duration
,
elapsed
elapsed
,
update(delta_time : Float32)
update
,
update_wrapped(delta_time : Float32)
update_wrapped
Constructor Detail
def self.
new
(&block : Float32 -> )
#
[
View source
]
Instance Method Detail
def
done=
(done : Bool)
#
[
View source
]
def
done?
: Bool
#
[
View source
]
def
update
(delta_time)
#
[
View source
]
def
update_wrapped
(delta_time : Float32)
#
[
View source
]