babalgame/
copyright.rs

1use gdnative::prelude::*;
2
3#[derive(NativeClass)]
4#[inherit(Label)]
5pub struct Copyright;
6
7#[methods]
8impl Copyright {
9    fn new(_owner: &Label) -> Self {
10        Copyright
11    }
12
13    #[export]
14    fn _ready(&self, owner: &Label) {
15        owner.set_text("Babal (c) 2020-2021 Christian Mauduit");
16    }
17}