From bbd3159a620209a5cdeeb601a1de2483bccdbfb6 Mon Sep 17 00:00:00 2001 From: Nova Date: Mon, 26 Sep 2022 00:39:15 -0400 Subject: [PATCH] refactor(node): label aspects --- src/nodes/mod.rs | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/nodes/mod.rs b/src/nodes/mod.rs index 37d1263..c45c761 100644 --- a/src/nodes/mod.rs +++ b/src/nodes/mod.rs @@ -51,14 +51,24 @@ pub struct Node { pub spatial: OnceCell>, pub field: OnceCell>, - pub model: OnceCell>, + + // Data pub pulse_sender: OnceCell>, pub pulse_receiver: OnceCell>, + + // Drawable + pub model: OnceCell>, + + // Input + pub input_method: OnceCell>, + pub input_handler: OnceCell>, + + // Item pub item: OnceCell>, pub item_acceptor: OnceCell>, pub item_ui: OnceCell>, - pub input_method: OnceCell>, - pub input_handler: OnceCell>, + + // Startup pub startup_settings: OnceCell>, pub(crate) client: Weak,