[−][src]Struct pokemon_rust::map::map::Map
Fields
map_id: MapIdmap_name: Stringreference_point: WorldCoordinatesThe Reference Point of this map, which corresponds to the coordinates of its bottom-left corner.
terrain_entity: Entitysolids: HashMap<MapCoordinates, Tile>decoration_entity: Entityscript_repository: Vec<GameScript>actions: HashMap<MapCoordinates, GameAction>map_scripts: Vec<MapScript>connections: HashMap<MapCoordinates, MapConnection>Methods
impl Map[src]
pub(super) fn from_initialized_map(
map: InitializedMap
) -> Map[src]
map: InitializedMap
) -> Map
pub(super) fn map_to_world_coordinates(
&self,
position: &MapCoordinates
) -> WorldCoordinates[src]
&self,
position: &MapCoordinates
) -> WorldCoordinates
pub(super) fn player_to_map_coordinates(
&self,
position: &PlayerCoordinates
) -> MapCoordinates[src]
&self,
position: &PlayerCoordinates
) -> MapCoordinates
pub(super) fn is_tile_blocked(
&self,
position: &PlayerCoordinates
) -> bool[src]
&self,
position: &PlayerCoordinates
) -> bool
pub(super) fn get_map_scripts<'a>(
&'a self,
kind: MapScriptKind
) -> impl Iterator<Item = ScriptEvent> + 'a[src]
&'a self,
kind: MapScriptKind
) -> impl Iterator<Item = ScriptEvent> + 'a
Trait Implementations
impl Component for Map[src]
type Storage = DenseVecStorage<Self>
Associated storage type for this component.
Auto Trait Implementations
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float, [src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>, [src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
fn get_type_id(&self) -> TypeId
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Erased for T
impl<T> Event for T where
T: Send + Sync + 'static,
T: Send + Sync + 'static,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Resource for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> Supports<T> for T
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,