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.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.GridDimensionPropertyBuilder
org.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B extends org.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B>>, org.refcodes.graphical.GridHeightAccessor.GridHeightMutator, org.refcodes.graphical.GridHeightAccessor.GridHeightProperty
org.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B extends org.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B>>, org.refcodes.graphical.GridWidthAccessor.GridWidthMutator, org.refcodes.graphical.GridWidthAccessor.GridWidthProperty
ACTION
Constructor and Description |
---|
GridDimensionChangedEventImpl(int aWidth,
int aHeight,
int aPrecedingWidth,
int aPrecedingHeigt,
Checkerboard<P,S> aSource)
Instantiates a new grid dimension changed event impl.
|
Modifier and Type | Method and Description |
---|---|
int |
getGridHeight() |
int |
getGridWidth() |
org.refcodes.graphical.GridDimension |
getPrecedingGridDimension()
Gets the preceding grid dimension.
|
String |
toString() |
getAction, getSource
public GridDimensionChangedEventImpl(int aWidth, int aHeight, int aPrecedingWidth, int aPrecedingHeigt, Checkerboard<P,S> aSource)
aWidth
- the a widthaHeight
- the a heightaPrecedingWidth
- the a preceding widthaPrecedingHeigt
- the a preceding heigtaSource
- the a sourcepublic int getGridHeight()
getGridHeight
in interface org.refcodes.graphical.GridHeightAccessor
public int getGridWidth()
getGridWidth
in interface org.refcodes.graphical.GridWidthAccessor
public org.refcodes.graphical.GridDimension getPrecedingGridDimension()
GridDimensionChangedEvent
getPrecedingGridDimension
in interface GridDimensionChangedEvent<P extends Player<P,S>,S>
Copyright © 2017. All rights reserved.