[four-in-a-row/KaKnife/four-in-a-row-vala: 64/65] Remove unused method FourInARow.drop_marble()
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row/KaKnife/four-in-a-row-vala: 64/65] Remove unused method FourInARow.drop_marble()
- Date: Sun, 16 Dec 2018 03:22:01 +0000 (UTC)
commit 192be622e70f75569cb73d96bc3c4f4bdcabe3f3
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sat Dec 15 21:06:50 2018 -0600
Remove unused method FourInARow.drop_marble()
src/four-in-a-row.vala | 10 ----------
1 file changed, 10 deletions(-)
---
diff --git a/src/four-in-a-row.vala b/src/four-in-a-row.vala
index fa89abb..2ca4de8 100644
--- a/src/four-in-a-row.vala
+++ b/src/four-in-a-row.vala
@@ -405,16 +405,6 @@ class FourInARow : Gtk.Application {
timeout = Timeout.add(SPEED_DROP, temp.exec);
}
- void drop_marble(int r, int c) {
- Tile tile = player == PlayerID.PLAYER1 ? Tile.PLAYER1 : Tile.PLAYER2;
-
- game_board.set(r, c, tile);
- game_board_view.draw_tile(r, c);
-
- column = column_moveto = c;
- row = row_dropto = r;
- }
-
public void drop() {
Tile tile = player == PLAYER1 ? Tile.PLAYER1 : Tile.PLAYER2;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]