1 2 3 4 5 6 7 8
use crate::objects::StructureInvaderCore; simple_accessors! { impl StructureInvaderCore { pub fn level() -> u32 = level; pub fn ticks_to_deploy() -> Option<u32> = ticksToDeploy; } }