Trait bevy_ecs_tilemap::prelude::TileBundleTrait[][src]

pub trait TileBundleTrait: Bundle + Clone + Sized {
    fn get_tile_pos_mut(&mut self) -> &mut UVec2;
fn get_tile_parent(&mut self) -> &mut TileParent; }
Expand description

This trait is used to allow the layer builder to access specific information inside of the bundle.

Required methods

fn get_tile_pos_mut(&mut self) -> &mut UVec2[src]

Gets the tile position from inside of the bundle.

fn get_tile_parent(&mut self) -> &mut TileParent[src]

Gets the tile parent component from inside the bundle.

Implementors