package controller;

import boundary.BuilderApplication;
import boundary.BuilderLevelEditorView;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JTextField;

import model.BuilderModel;

/**
 * @author Cem Unsal
 */
public class BuilderSetTimerCtrl implements ActionListener {
  BuilderApplication app;
  BuilderModel model;

  public BuilderSetTimerCtrl(BuilderApplication app, BuilderModel model) {
    this.app = app;
    this.model = model;
  }

  @Override
  public void actionPerformed(ActionEvent e) {
	  
	  //Skeleton
  }
}

@@ -554,22 +554,174 @@
 %0A%09  
-%0A%09  //Skeleton
+String entry = ((JTextField) e.getSource()).getText();%0A%09  int num = Integer.parseInt(entry);%0A%09  %0A%09  model.level.rules.initialCounter=num;%0A%09  model.takeSnapshot();%0A%09  
 %0A  %7D

Implement timer controller