public class FlickGameApp extends SynergyNetApp implements IMultiTouchEventListener
localDevicePosition, MEDIA_SEARCH, networkFlickEnabled, NETWORKING, ONE_MEDIA_AT_A_TIME, sync
Constructor and Description |
---|
FlickGameApp() |
Modifier and Type | Method and Description |
---|---|
void |
cursorChanged(MultiTouchCursorEvent event)
Cursor is on the table, and moves, or rotates, or changes in some way.
|
void |
cursorClicked(MultiTouchCursorEvent event)
Cursor clicked.
|
void |
cursorPressed(MultiTouchCursorEvent event)
Cursor press arriving on the table.
|
void |
cursorReleased(MultiTouchCursorEvent event)
Cursor left the table.
|
java.lang.String |
getSpecificFriendlyAppName()
Function to be overwritten so applications can append their name to the
SynergyNetApp environment name.
|
static void |
main(java.lang.String[] args)
The main method.
|
void |
objectAdded(MultiTouchObjectEvent event)
Object/fiducial is added to the table.
|
void |
objectChanged(MultiTouchObjectEvent event)
Object/fiducial is changed - position or rotation.
|
void |
objectRemoved(MultiTouchObjectEvent event)
Object/fiducial is removed from the table.
|
void |
onDestroy()
Actions to be performed when the SynergyNetApp window is closed.
|
void |
onFlickArrival(FlickMessage message)
Retrieves details from the supplied message to recreate the flicked item
and to ensure it appears onscreen in the manner expected, i.e.
|
void |
shouldStart(MultiTouchInputComponent input,
IQueueOwner iqo)
Executed at the start of each application which extended the
SynergyNetApp.
|
void |
updateScore(FlickGameScore score)
Update score.
|
bringAllStudentsToTop, createScreenShotItem, disableNetworkFlick, enableNetworkFlick, generateStudentMenu, getFeedbackTypes, getFriendlyAppName, getTableIdentity, login, loginAll, logout, logoutAll, logoutAllOfClass, modifyMenus, onContentFromProjectorArrival, onFind, reloadRemovableMediaCache, reloadServerCache, removeAdditionalMedia, removeVirtualTable, sendContentsToProjectors, sendScreenShotToProjectors, shouldStop, toggleFreeze, updateVirtualTable, utiliseScreenshot
public static void main(java.lang.String[] args)
args
- the argumentspublic void cursorChanged(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorChanged
in interface IMultiTouchEventListener
public void cursorClicked(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorClicked
in interface IMultiTouchEventListener
public void cursorPressed(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorPressed
in interface IMultiTouchEventListener
public void cursorReleased(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorReleased
in interface IMultiTouchEventListener
public java.lang.String getSpecificFriendlyAppName()
SynergyNetApp
public void objectAdded(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectAdded
in interface IMultiTouchEventListener
public void objectChanged(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectChanged
in interface IMultiTouchEventListener
public void objectRemoved(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectRemoved
in interface IMultiTouchEventListener
public void onDestroy()
SynergyNetApp
onDestroy
in interface IMultiplicityApp
onDestroy
in class SynergyNetApp
public void onFlickArrival(FlickMessage message)
SynergyNetApp
onFlickArrival
in class SynergyNetApp
message
- Structured message detailing the details of an item's
arrival.public void shouldStart(MultiTouchInputComponent input, IQueueOwner iqo)
SynergyNetApp
shouldStart
in interface IMultiplicityApp
shouldStart
in class SynergyNetApp
input
- The multi-touch input providing component.iqo
- Queue owner.public void updateScore(FlickGameScore score)
score
- the score