x,y instead of y,x

This commit is contained in:
Max Bradbury 2020-11-08 16:59:04 +00:00
parent 80df4a9a6a
commit 7ff67e51f8
2 changed files with 4 additions and 4 deletions

View File

@ -303,7 +303,7 @@ pub fn add_room() -> String {
let tile = Tile { let tile = Tile {
// "0" will get overwritten to a new, safe tile ID // "0" will get overwritten to a new, safe tile ID
id: "0".to_string(), id: "0".to_string(),
name: tile_name(&state.room_name, &row, &column), name: tile_name(&state.room_name, &column, &row),
wall: None, wall: None,
animation_frames: vec![Image { pixels }], animation_frames: vec![Image { pixels }],
colour_id: None colour_id: None

View File

@ -70,7 +70,7 @@ TIL 1
00011000 00011000
00011000 00011000
00111100 00111100
NAME test (0,2) NAME test (2,0)
TIL 2 TIL 2
00111100 00111100
@ -81,7 +81,7 @@ TIL 2
00110000 00110000
01100000 01100000
01111110 01111110
NAME test (0,4) NAME test (4,0)
TIL 3 TIL 3
00111100 00111100
@ -92,7 +92,7 @@ TIL 3
01100110 01100110
01100110 01100110
00111100 00111100
NAME test (0,6) NAME test (6,0)
SPR A SPR A
00011000 00011000