From 76c75c349b0a1bda4975b9546933984950b76cc6 Mon Sep 17 00:00:00 2001 From: mitchellhansen Date: Thu, 17 Sep 2020 21:42:27 -0700 Subject: [PATCH] This consolidation is not the way to go --- src/canvas/canvas_frame.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/canvas/canvas_frame.rs b/src/canvas/canvas_frame.rs index 63253794..7d6b79e7 100644 --- a/src/canvas/canvas_frame.rs +++ b/src/canvas/canvas_frame.rs @@ -11,6 +11,9 @@ use winit::event::Event; use crate::util::tr_event::{TrEvent, TrUIEvent}; use crate::drawables::sprite::{Velocity, Geometry}; +enum CustomEvent { + +} /// Trait which may be inherited by objects that wish to be drawn to the screen pub trait Drawable { @@ -31,7 +34,7 @@ pub trait Drawable { // Notify is where custom events created in other parts of the system will be ingested. It // might be a good idea in the future to have some of pre-function-call filtering so we // don't have as many notifies that just immediately reject. - fn notify(&self, tr_event : Vec>, ui_events: Vec>) -> Vec>; + fn notify(&self, tr_event : Vec>, ui_events: Vec>) -> Vec>; }