Trait feo_oop_engine::scene::game_object::GameObject
source · [−]pub trait GameObject: GameObjectBoxClone + Scriptable + Drawable + Parent + Child + Any + 'static + Send + Sync {
fn as_any(&self) -> &dyn Any;
fn cast_camera_arc_rwlock(
&self,
this: Arc<RwLock<dyn GameObject>>
) -> Result<Arc<RwLock<dyn Camera>>, ()>;
fn cast_light_arc_rwlock(
&self,
this: Arc<RwLock<dyn GameObject>>
) -> Result<Arc<RwLock<dyn Light>>, ()>;
fn get_id(&self) -> ID;
fn get_subspace(&self) -> Space;
fn get_inversed_subspace(&self) -> Space;
}