screeps/objects/impls/
structure_keeper_lair.rs1use wasm_bindgen::prelude::*;
2
3use crate::{
4 objects::{OwnedStructure, RoomObject, Structure},
5 prelude::*,
6};
7
8#[wasm_bindgen]
9extern "C" {
10 #[wasm_bindgen(extends = RoomObject, extends = Structure, extends = OwnedStructure)]
15 #[derive(Clone, Debug)]
16 pub type StructureKeeperLair;
17
18 #[wasm_bindgen(method, getter = ticksToSpawn)]
23 pub fn ticks_to_spawn(this: &StructureKeeperLair) -> u32;
24}
25
26impl Attackable for StructureKeeperLair {}