Module bevy_tiles::commands

source ·
Expand description

Provides commands for interacting with tilemaps.

Structs§

Traits§

Functions§

  • Despawns all the chunks and tiles in a given map
  • Insert the given entity into the map and have it treated as a chunk
  • Inserts a list of entities into map and treats them as chunks
  • Insert the given entity and have it be treated as the given map.
  • Inserts a tile into the world.
  • Inserts a list of entities into the corresponding tiles of a given tile map
  • Inserts a tile into the given map.
  • Remove the chunk from the map without despawning it.
  • Removes the chunks from the tile map, returning the chunk coordinates removed and their corresponding entities.
  • Removes the chunks from the tile map, returning the chunk coordinates removed and their corresponding entities. Also despawns all tiles in all the removed chunks.
  • Remove the chunk from the map without despawning it and despawns the tiles in the chunk.
  • Take a tile from the world.
  • Removes the tiles from the tile map, returning the tile coordinates removed and their corresponding entities.
  • Removes a tile from the given map.