diff options
author | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-16 21:12:23 +0200 |
---|---|---|
committer | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-16 21:12:23 +0200 |
commit | 9a750a6688ad923d990d11dc464f783210b50678 (patch) | |
tree | 90d7658c5e6173946bfb89c46d2cd43fd3f9bf90 /rust/src/buff_extra.rs | |
parent | 9c061b9997d0add3298b1230426dd7332b91420f (diff) | |
parent | f561a1f69d5fda68e0a23ab04f448e9364b2968c (diff) | |
download | 2022-9a750a6688ad923d990d11dc464f783210b50678.tar.gz 2022-9a750a6688ad923d990d11dc464f783210b50678.tar.bz2 2022-9a750a6688ad923d990d11dc464f783210b50678.zip |
Merge branch 'BuffSystem' into GoalPost
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"), |