Package org.refcodes.checkerboard
Class AbstractCheckerboardEvent<P extends Player<P,S>,S>
- java.lang.Object
-
- org.refcodes.checkerboard.AbstractCheckerboardEvent<P,S>
-
- Type Parameters:
P
- the generic typeS
- the generic type
- All Implemented Interfaces:
CheckerboardEvent<P,S>
,org.refcodes.mixin.ActionAccessor<P>
,org.refcodes.mixin.SourceAccessor<P>
,org.refcodes.observer.GenericActionEvent<P,S>
,org.refcodes.observer.GenericEvent<P>
- Direct Known Subclasses:
AbstractCheckerboardEvent.AbstractPlayerCheckerboardEvent
,GridDimensionChangedEventImpl
,GridModeChangedEventImpl
public abstract class AbstractCheckerboardEvent<P extends Player<P,S>,S> extends Object implements CheckerboardEvent<P,S>
The Class AbstractCheckerboardEvent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractCheckerboardEvent.AbstractPlayerCheckerboardEvent<P extends Player<P,S>,S>
The Class AbstractPlayerCheckerboardEvent.-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor
org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends Object>
-
-
Constructor Summary
Constructors Constructor Description AbstractCheckerboardEvent(CheckerboardAction aAction, Checkerboard<P,S> aSource)
Instantiates a new abstract checkerboard event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckerboardAction
getAction()
Checkerboard<P,S>
getSource()
String
toString()
-
-
-
Constructor Detail
-
AbstractCheckerboardEvent
public AbstractCheckerboardEvent(CheckerboardAction aAction, Checkerboard<P,S> aSource)
Instantiates a new abstract checkerboard event.- Parameters:
aAction
- the actionaSource
- The according source (origin).
-
-
Method Detail
-
getAction
public CheckerboardAction getAction()
-
getSource
public Checkerboard<P,S> getSource()
-
-