Gen7ScriptsRs/gen_7_scripts/src/weather/hail.rs

26 lines
447 B
Rust

use crate::script;
use core::any::Any;
use pkmn_lib_interface::handling::{Script, ScriptCapabilities};
script!(Hail, "hail");
impl Script for Hail {
fn new() -> Self
where
Self: Sized,
{
Self {}
}
fn get_name(&self) -> &'static str {
Self::get_const_name()
}
fn get_capabilities(&self) -> &[ScriptCapabilities] {
todo!()
}
fn as_any(&self) -> &dyn Any {
self
}
}