1use crate::{Scene, animation::Action}; 2use std::{cell::RefCell, rc::Rc}; 3 4pub trait Animation { 5 fn into_action(self, scene: Rc<RefCell<Scene>>) -> Action; 6}