screeps/objects/impls/
structure_wall.rs

1use wasm_bindgen::prelude::*;
2
3use crate::{
4    objects::{RoomObject, Structure},
5    prelude::*,
6};
7
8#[wasm_bindgen]
9extern "C" {
10    /// An object representing a [`StructureWall`], which blocks movement of all
11    /// creeps.
12    ///
13    /// [Screeps documentation](https://docs.screeps.com/api/#StructureWall)
14    #[wasm_bindgen(extends = RoomObject, extends = Structure)]
15    #[derive(Clone, Debug)]
16    pub type StructureWall;
17}
18
19impl Attackable for StructureWall {}
20impl Dismantleable for StructureWall {}
21impl Repairable for StructureWall {}