From 45dc9e4bd3b5999bd0377327f57e022f16ec6309 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 14 Feb 2024 19:31:57 -0800 Subject: [PATCH] no default --- src/gameplay_attributes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gameplay_attributes.rs b/src/gameplay_attributes.rs index 1e919f9..aecb2a8 100644 --- a/src/gameplay_attributes.rs +++ b/src/gameplay_attributes.rs @@ -146,8 +146,8 @@ pub enum CollisionAttributes{ general:GeneralAttributes, }, } -impl std::default::Default for CollisionAttributes{ - fn default()->Self{ +impl CollisionAttributes{ + pub fn contact_default()->Self{ Self::Contact{ contacting:ContactingAttributes::default(), general:GeneralAttributes::default()