P
- the generic typeS
- the generic typepublic abstract class AbstractCheckerboardEvent<P extends Player<P,S>,S> extends Object implements CheckerboardEvent<P,S>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractCheckerboardEvent.AbstractPlayerCheckerboardEvent<P extends Player<P,S>,S>
The Class AbstractPlayerCheckerboardEvent.
|
Constructor and Description |
---|
AbstractCheckerboardEvent(CheckerboardAction aAction,
Checkerboard<P,S> aSource)
Instantiates a new abstract checkerboard event.
|
Modifier and Type | Method and Description |
---|---|
CheckerboardAction |
getAction() |
Checkerboard<P,S> |
getSource() |
String |
toString() |
public AbstractCheckerboardEvent(CheckerboardAction aAction, Checkerboard<P,S> aSource)
aAction
- the a actionaSource
- the a sourcepublic CheckerboardAction getAction()
getAction
in interface org.refcodes.observer.ActionEvent<CheckerboardAction,Checkerboard<P extends Player<P,S>,S>>
public Checkerboard<P,S> getSource()
Copyright © 2017. All rights reserved.