events are coming in. But my dual box thingy is not gonna be the way to go here. I guess it copied the data and they no longer link. Bummer
This commit is contained in:
@@ -8,6 +8,7 @@ use vulkano::pipeline::vertex::Vertex;
|
||||
use std::any::Any;
|
||||
use crate::{VertexTypeContainer, Move, Geom};
|
||||
use winit::event::Event;
|
||||
use crate::util::tr_event::TrEvent;
|
||||
|
||||
/// Trait which may be inherited by objects that wish to be drawn to the screen
|
||||
pub trait Drawable {
|
||||
@@ -22,7 +23,7 @@ pub trait Drawable {
|
||||
|
||||
/// Trait which may be inherited by objects that wish to receive events
|
||||
pub trait Eventable<T> {
|
||||
fn notify(&mut self, event: &Event<T>) -> ();
|
||||
fn notify(&mut self, event: &TrEvent<T>) -> ();
|
||||
}
|
||||
|
||||
/// Trait which may be inherited by objects that wish to be updated
|
||||
|
||||
Reference in New Issue
Block a user