com.webkitchen.brainathlon.gameControl
Class BandIncreaseCourse

java.lang.Object
  extended by com.webkitchen.brainathlon.gameControl.AbstractCourse
      extended by com.webkitchen.brainathlon.gameControl.AbstractBandCourse
          extended by com.webkitchen.brainathlon.gameControl.BandIncreaseCourse
All Implemented Interfaces:
java.awt.event.WindowListener, java.util.EventListener

public class BandIncreaseCourse
extends AbstractBandCourse

Mini-game that encourages brainwave activity in a specific frequency band, as specified in our BandIncreaseConfiguration.xml file. Handles all logic for this course, times and scores the game play, and provides feedback for the players.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.webkitchen.brainathlon.gameControl.AbstractBandCourse
AbstractBandCourse.AbstractBandPlayerMonitor
 
Nested classes/interfaces inherited from class com.webkitchen.brainathlon.gameControl.AbstractCourse
AbstractCourse.AbstractPlayerMonitor
 
Field Summary
 
Fields inherited from class com.webkitchen.brainathlon.gameControl.AbstractCourse
announceCourse, courseOver, courseOverUI, courseTitle, courseUI, playerMonitorList, players, running, scoreRange, timedCourse, timeInCourse, timeLimit, winner
 
Constructor Summary
BandIncreaseCourse(java.util.List<Player> players)
          Creates a new course
 
Method Summary
protected  void attachMonitors()
           
protected  void createCoefficients(FilterDesigner designer)
           
protected  AbstractCourseUI getCourseUI()
           
 PlayerMonitorList<IBandPlayerMonitor> getPlayerMonitorList()
           
protected  boolean needCoeffients()
           
 
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
 

Constructor Detail

BandIncreaseCourse

public BandIncreaseCourse(java.util.List<Player> players)
Creates a new course

Parameters:
players - the list of players
Method Detail

attachMonitors

protected void attachMonitors()
Specified by:
attachMonitors in class AbstractCourse

getPlayerMonitorList

public PlayerMonitorList<IBandPlayerMonitor> getPlayerMonitorList()
Specified by:
getPlayerMonitorList in class AbstractCourse

getCourseUI

protected AbstractCourseUI getCourseUI()
Specified by:
getCourseUI in class AbstractCourse

needCoeffients

protected boolean needCoeffients()
Specified by:
needCoeffients in class AbstractCourse

createCoefficients

protected void createCoefficients(FilterDesigner designer)
Specified by:
createCoefficients in class AbstractCourse