Added screenshot

This commit is contained in:
Coeuvre 2014-05-21 17:29:30 +08:00
parent 71f75c87d7
commit 5246671300
2 changed files with 3 additions and 0 deletions

BIN
rust-2048.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View file

@ -115,6 +115,7 @@ impl Board {
Some(ref mut tile) => {
println!("move ({}, {}) to ({}, {})",
tile.tile_x, tile.tile_y, col, row);
need_generate = true;
tile.start_moving(col, row);
},
_ => {},
@ -160,6 +161,7 @@ impl Board {
let mut tile = self.get_mut_tile(sx, sy);
let tile = tile.get_mut_ref();
tile.start_moving(dx, dy);
println!("merge ({}, {}) to ({}, {})", sx, sy, dx, dy);
}
}
@ -242,6 +244,7 @@ impl Board {
let mut tile = self.get_mut_tile(sx, sy);
let tile = tile.get_mut_ref();
tile.start_moving(dx, dy);
println!("merge ({}, {}) to ({}, {})", sx, sy, dx, dy);
}
}