[−][src]Trait silver_animation::ContainedAnimation
The same as BasicAnimation, however ContainedAnimations are in control of their position
This one can be used when the location is also part of the animation.
Required methods
pub fn draw(&mut self, gfx: &mut Graphics) -> Result<()>
[src]
pub fn set_location(&mut self, location: Vector)
[src]
pub fn set_size(&mut self, size: Size)
[src]
pub fn get_draw_pos(&self) -> Combined
[src]
pub fn get_position(&self) -> Vector
[src]
pub fn get_size(&self) -> Size
[src]
Implementors
impl<Animation, Size, Combined> ContainedAnimation<Size, Combined> for BasicAnimationContainer<Animation, Size, Combined> where
Animation: BasicAnimation<Size, Combined>,
Combined: AnimationShape<Size>,
[src]
Animation: BasicAnimation<Size, Combined>,
Combined: AnimationShape<Size>,