Class: Yuki::Animation::ResolverObjectCommand
- Inherits:
-
Command
- Object
- TimedAnimation
- Command
- Yuki::Animation::ResolverObjectCommand
- Defined in:
- docs/4_Systems_005_Animation.rb
Overview
Animation command that sends a message to an object in the resolver
Example :
ResolverObjectCommand.new(:star1, :set_position, 0, 0)
# This will call set_position(0, 0) on the star1 object in the resolver
Instance Attribute Summary
Attributes inherited from TimedAnimation
#begin_time, #end_time, #parallel_animations, #root, #sub_animation, #time_source
Instance Method Summary collapse
-
#initialize(name, command, *args) ⇒ ResolverObjectCommand
constructor
Create a new ResolverObjectCommand.
Methods inherited from Command
Methods inherited from TimedAnimation
#done?, #in_parallel_of, #parallel_add, #play_before, #resolver=, #start, #update
Constructor Details
#initialize(name, command, *args) ⇒ ResolverObjectCommand
Create a new ResolverObjectCommand
478 479 |
# File 'docs/4_Systems_005_Animation.rb', line 478 def initialize(name, command, *args) end |