com.webkitchen.brainathlon.data
Class PlayerData
java.lang.Object
com.webkitchen.brainathlon.data.PlayerData
public class PlayerData
- extends java.lang.Object
Contains the necessary data to add a new player to the game
- Created by NewPlayerUI and passed into Application to create
the actual Player object
|
Constructor Summary |
PlayerData(java.lang.String firstName,
int[] channels,
java.lang.Integer playerInstrument)
Create a new PlayerData object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PlayerData
public PlayerData(java.lang.String firstName,
int[] channels,
java.lang.Integer playerInstrument)
- Create a new PlayerData object
- Parameters:
firstName - the players first namechannels - the players EEG channel(s)playerInstrument - the feedback instrument selection
getFirstName
public java.lang.String getFirstName()
getChannels
public int[] getChannels()
getInstrument
public java.lang.Integer getInstrument()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object