diff options
Diffstat (limited to 'rust/src/buff_trait.rs')
-rw-r--r-- | rust/src/buff_trait.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rust/src/buff_trait.rs b/rust/src/buff_trait.rs new file mode 100644 index 0000000..d0e9fba --- /dev/null +++ b/rust/src/buff_trait.rs @@ -0,0 +1,9 @@ +use gdnative::api::*; +use gdnative::prelude::*; + +pub trait Buff { + unsafe fn execute_buff(&mut self); + unsafe fn revert_buff(&mut self); + fn get_name(self) -> GodotString; + fn get_description(self) -> GodotString; +} |