PkmnLib_rs/tests/data/scripts/moves/test.rn

14 lines
284 B
Plaintext
Raw Normal View History

mod moves {
struct TestMove;
impl TestMove {
pub fn change_speed(self, choice, speed) {
println(`change_speed: ${choice.speed()}`);
println(`user level: ${choice.user().level()}`);
2024-05-08 13:46:09 +00:00
println(`owner: ${self.owner.level()}`);
speed += 100;
}
}
}