- main - package main
-
- Main - Class in main
-
The main class regulates the whole project.
- Main() - Constructor for class main.Main
-
- main(String[]) - Static method in class main.Main
-
The main method creates a instance of an model
- makeNewBubble() - Method in class model.CokeCanBubbleGeneratorThread
-
Makes a new bubble with correct position.
- makeNewThreadsForCokeCans() - Method in class model.Ocean
-
Make new threads for coke cans after they have been loaded.
- makeOOID() - Static method in class model.Ocean
-
Make the oceanObject's ID.
- maximumAge - Variable in class model.OceanObject
-
The maximum age.
- maximumAgeField - Variable in class view.ButtonPanel
-
The maximum age field.
- maximumAgeLabel - Variable in class view.ButtonPanel
-
The maximum age label.
- meBounce(OceanObject) - Method in class model.OceanObject
-
Me bounce.
- message(String) - Method in class controller.Listener
-
- model - package model
-
- mouseClicked(MouseEvent) - Method in class controller.MouseListener
-
This method gets an MouseEvent e an executes the specific code.
- mouseDragged(MouseEvent) - Method in class controller.MouseListener
-
- mouseEntered(MouseEvent) - Method in class controller.MouseListener
-
- mouseExited(MouseEvent) - Method in class controller.MouseListener
-
- MouseListener - Class in controller
-
The listener interface for receiving mouse events.
- MouseListener(OceanInterface, OceanGUIInterface) - Constructor for class controller.MouseListener
-
Instantiates a new mouse listener.
- mouseMoved(MouseEvent) - Method in class controller.MouseListener
-
- mousePressed(MouseEvent) - Method in class controller.MouseListener
-
- mouseReleased(MouseEvent) - Method in class controller.MouseListener
-
- mouseWheelMoved(MouseWheelEvent) - Method in class controller.MouseListener
-
This method speeds up or slows down the ocean's movement.
- move() - Method in class model.Ocean
-
- move() - Method in interface model.OceanInterface
-
This method moves all the ocean's objects.
- move() - Method in class model.OceanObject
-
The move method adds the adds the new direction the the current
position (move) and updates the ocean objects image.
- movementCollisionTwo(OceanObject) - Method in class model.OceanObject
-
Movement collision two.
- MovementThread - Class in model
-
The Class MovementThread.
- MovementThread(Ocean, Integer) - Constructor for class model.MovementThread
-
Instantiates a new movement thread.
- moveOcean() - Method in class model.MovementThread
-
Moves the ocean.
- mt - Variable in class model.Ocean
-
The ocean's movement thread.
- myCokeCan - Variable in class model.CokeCanBubbleGeneratorThread
-
The CokeCan.
- myOcean - Variable in class controller.Controller
-
The ocean is a part of the model.
- myOcean - Variable in class controller.Listener
-
The model interface
- myOcean - Variable in class model.CokeCanBubbleGeneratorThread
-
The ocean.
- myOcean - Variable in class model.MovementThread
-
The ocean.
- myOcean - Variable in class model.OceanObject
-
The model interface.
- myOcean - Variable in class view.OceanGUI
-
The ocean.
- myOcean - Variable in class view.StatusPanel
-
The my ocean.
- myOcean - Variable in class view.WaterPanel
-
The myOcean.
- myOceanGUI - Variable in class controller.Controller
-
The oceanGUI is a part of the GUI
- myOceanGUI - Variable in class controller.Listener
-
The view interface