コード例 #1
0
ファイル: GameField.java プロジェクト: hellivan/AkariDroid
 private void fireGameFieldDragged(final Point currentCell, final Point previousCell) {
   GameFieldDragEvent event = new GameFieldDragEvent(this, previousCell, currentCell);
   for (GameFieldInputListener listener :
       this.listenerList.getListeners(GameFieldInputListener.class)) {
     listener.gameFieldDragged(event);
   }
 }
コード例 #2
0
ファイル: GameField.java プロジェクト: hellivan/AkariDroid
 private void fireGameFieldTouched(final Point touchedCell) {
   GameFieldTouchEvent event = new GameFieldTouchEvent(this, touchedCell);
   for (GameFieldInputListener listener :
       this.listenerList.getListeners(GameFieldInputListener.class)) {
     listener.gameFieldTouched(event);
   }
 }