예제 #1
0
 private void Left_Click(object sender, EventArgs e)
 {
     MovePiece?.Invoke(Direction.left);
 }
예제 #2
0
 private void Right_Click(object sender, EventArgs e)
 {
     MovePiece?.Invoke(Direction.right);
 }
예제 #3
0
 private void Up_Click(object sender, EventArgs e)
 {
     MovePiece?.Invoke(Direction.up);
 }
예제 #4
0
 private void Down_Click(object sender, EventArgs e)
 {
     MovePiece?.Invoke(Direction.down);
 }