aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/buff_trait.rs
blob: d0e9fba1e309029b1bd990b500efdf635a319161 (plain) (blame)
1
2
3
4
5
6
7
8
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;
}