diff options
author | David <david003@gmx.net> | 2022-07-16 20:38:58 +0200 |
---|---|---|
committer | David <david003@gmx.net> | 2022-07-16 20:38:58 +0200 |
commit | d1bac1c41a75fdf901e1f7c5f604783f0685190a (patch) | |
tree | 6230dbb9c0526a5efe00f81971acb2697f87c6fb /rust/src/buff_extra.rs | |
parent | 717a665a84dd9ca1b545d57976b87ba77bf11d80 (diff) | |
download | 2022-d1bac1c41a75fdf901e1f7c5f604783f0685190a.tar.gz 2022-d1bac1c41a75fdf901e1f7c5f604783f0685190a.tar.bz2 2022-d1bac1c41a75fdf901e1f7c5f604783f0685190a.zip |
make buffs work
Diffstat (limited to 'rust/src/buff_extra.rs')
-rw-r--r-- | rust/src/buff_extra.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/buff_extra.rs b/rust/src/buff_extra.rs index 473cdde..a7b7902 100644 --- a/rust/src/buff_extra.rs +++ b/rust/src/buff_extra.rs @@ -2,13 +2,13 @@ use gdnative::api::*; use gdnative::prelude::*; use crate::buff_trait::Buff; -struct BuffExtra { +pub struct BuffExtra { name: String, description: String, } impl BuffExtra { - fn new() -> Self { + pub fn new() -> Self { BuffExtra { name: String::from("Extra Stroke"), description: String::from("One additional stroke that doesn't count"), |