diff options
author | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-02-15 02:22:36 +0100 |
---|---|---|
committer | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-02-15 02:22:36 +0100 |
commit | 55875fb4063a64de25ace0b5013a0f19bc86c19a (patch) | |
tree | 06727908f089b5f4169df4fe446133f731e9939b /src/to_clt/obj.rs | |
parent | 402f7485a5d85b1efc4a76d2c3c80f295e9816a4 (diff) | |
download | mt_net-55875fb4063a64de25ace0b5013a0f19bc86c19a.tar.xz |
Implement NodeDefs and ItemDefs
Diffstat (limited to 'src/to_clt/obj.rs')
-rw-r--r-- | src/to_clt/obj.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/to_clt/obj.rs b/src/to_clt/obj.rs index 9e88fff..1b605cc 100644 --- a/src/to_clt/obj.rs +++ b/src/to_clt/obj.rs @@ -16,8 +16,8 @@ pub struct ObjProps { pub max_hp: u16, // player only pub collide_with_nodes: bool, pub weight: f32, // deprecated - pub collision_box: ([f32; 3], [f32; 3]), - pub selection_box: ([f32; 3], [f32; 3]), + pub collision_box: RangeInclusive<[f32; 3]>, + pub selection_box: RangeInclusive<[f32; 3]>, pub pointable: bool, pub visual: ObjVisual, pub visual_size: [f32; 3], |