P - the generic typeS - the generic typepublic class GridDimensionChangedEventImpl<P extends Player<P,S>,S> extends AbstractCheckerboardEvent<P,S> implements GridDimensionChangedEvent<P,S>
AbstractCheckerboardEvent.AbstractPlayerCheckerboardEvent<P extends Player<P,S>,S>org.refcodes.mixin.SourceAccessor.SourceMutator<SRC>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC>org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A>, org.refcodes.mixin.ActionAccessor.ActionProperty<A>org.refcodes.graphical.GridDimension.GridDimensionBuilder<B extends org.refcodes.graphical.GridDimension.GridDimensionBuilder<B>>, org.refcodes.graphical.GridDimension.GridDimensionMutator, org.refcodes.graphical.GridDimension.GridDimensionProperty, org.refcodes.graphical.GridDimension.GridDimensionPropertyBuilderorg.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B extends org.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B>>, org.refcodes.graphical.GridHeightAccessor.GridHeightMutator, org.refcodes.graphical.GridHeightAccessor.GridHeightPropertyorg.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B extends org.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B>>, org.refcodes.graphical.GridWidthAccessor.GridWidthMutator, org.refcodes.graphical.GridWidthAccessor.GridWidthPropertyACTION| Constructor and Description |
|---|
GridDimensionChangedEventImpl(int aWidth,
int aHeight,
int aPrecedingWidth,
int aPrecedingHeigt,
Checkerboard<P,S> aSource)
Instantiates a new grid dimension changed event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getGridHeight() |
int |
getGridWidth() |
org.refcodes.graphical.GridDimension |
getPrecedingGridDimension()
Gets the preceding grid dimension.
|
String |
toString() |
getAction, getSourcepublic GridDimensionChangedEventImpl(int aWidth,
int aHeight,
int aPrecedingWidth,
int aPrecedingHeigt,
Checkerboard<P,S> aSource)
aWidth - the widthaHeight - the heightaPrecedingWidth - the preceding widthaPrecedingHeigt - the preceding heigtaSource - The according source (origin).public int getGridHeight()
getGridHeight in interface org.refcodes.graphical.GridHeightAccessorpublic int getGridWidth()
getGridWidth in interface org.refcodes.graphical.GridWidthAccessorpublic org.refcodes.graphical.GridDimension getPrecedingGridDimension()
getPrecedingGridDimension in interface GridDimensionChangedEvent<P extends Player<P,S>,S>Copyright © 2018. All rights reserved.