Add a rendering system using temporary images #61

Merged
CoCo_Sol merged 26 commits from renderer into main 2024-03-05 18:08:56 +00:00
Showing only changes of commit 88521c24e7 - Show all commits

View file

@ -26,7 +26,7 @@ struct TilesGap(Vec2);
#[derive(Resource, Clone, Copy)]
struct TilesSize(Vec2);
impl Tile {
impl Tile {
/// Returns the handle of the image of the tile.
fn get_texture(&self, asset_server: &AssetServer) -> Handle<Image> {
match self {