attempt noise gen
This commit is contained in:
+4
-4
@@ -18,7 +18,7 @@ impl TilePrefab {
|
||||
image: asset_server.load("dirt.png"),
|
||||
..Default::default()
|
||||
},
|
||||
tile: Tile { position },
|
||||
tile: Tile {id:1},
|
||||
tile_state: TileState {
|
||||
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
|
||||
},
|
||||
@@ -32,7 +32,7 @@ impl TilePrefab {
|
||||
image: asset_server.load("grass.png"),
|
||||
..Default::default()
|
||||
},
|
||||
tile: Tile { position },
|
||||
tile: Tile {id:2},
|
||||
tile_state: TileState {
|
||||
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
|
||||
},
|
||||
@@ -46,7 +46,7 @@ impl TilePrefab {
|
||||
image: asset_server.load("rock.png"),
|
||||
..Default::default()
|
||||
},
|
||||
tile: Tile { position },
|
||||
tile: Tile {id:3},
|
||||
tile_state: TileState {
|
||||
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
|
||||
},
|
||||
@@ -59,7 +59,7 @@ impl TilePrefab {
|
||||
image: asset_server.load("sky.png"),
|
||||
..Default::default()
|
||||
},
|
||||
tile: Tile { position },
|
||||
tile: Tile {id:0},
|
||||
tile_state: TileState {
|
||||
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user