com.webkitchen.brainathlon.gameControl
Class DualBandRatioCourse
java.lang.Object
com.webkitchen.brainathlon.gameControl.AbstractCourse
com.webkitchen.brainathlon.gameControl.DualBandRatioCourse
- All Implemented Interfaces:
- java.awt.event.WindowListener, java.util.EventListener
public class DualBandRatioCourse
- extends AbstractCourse
Mini-game that encourages brainwave activity in a specific ratio between two
frequency bands, as specified in our DualBandRatioConfiguration.xml file.
Handles all logic for this course, times and scores the game play, and provides
feedback for the players.
| Fields inherited from class com.webkitchen.brainathlon.gameControl.AbstractCourse |
announceCourse, courseOver, courseOverUI, courseTitle, courseUI, playerMonitorList, players, running, scoreRange, timedCourse, timeInCourse, timeLimit, winner |
| Methods inherited from class com.webkitchen.brainathlon.gameControl.AbstractCourse |
attachAsListener, designFilters, dumpCoefficients, getFinalScore, getFinishTime, getScoreRange, getTitle, getWinner, playerWon, start, stop, tick, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DualBandRatioCourse
public DualBandRatioCourse(java.util.List<Player> players)
- Creates a new course
- Parameters:
players - the list of players
attachMonitors
protected void attachMonitors()
- Specified by:
attachMonitors in class AbstractCourse
getPlayerMonitorList
public PlayerMonitorList<IRatioPlayerMonitor> getPlayerMonitorList()
- Specified by:
getPlayerMonitorList in class AbstractCourse
getCourseUI
protected AbstractCourseUI getCourseUI()
- Specified by:
getCourseUI in class AbstractCourse
getBandOneDescription
public java.lang.String getBandOneDescription()
getBandTwoDescription
public java.lang.String getBandTwoDescription()
needCoeffients
protected boolean needCoeffients()
- Specified by:
needCoeffients in class AbstractCourse
createCoefficients
protected void createCoefficients(FilterDesigner designer)
- Specified by:
createCoefficients in class AbstractCourse