Class Controller

java.lang.Object
java.awt.event.KeyAdapter
nz.ac.vuw.ecs.swen225.gp6.app.utilities.Controller
All Implemented Interfaces:
KeyListener, EventListener

public class Controller extends KeyAdapter
Package-private class for Controller class for the App class. Handles all the controllable key actions.
  • Constructor Details

    • Controller

      public Controller(App app)
      Constructor for the Controller class. Initializes the actions and key bindings.
      Parameters:
      app - The App object that the controller will be controlling.
  • Method Details