public class PositionChangedEventImpl<S> extends AbstractPlayerEvent<S> implements PositionChangedEvent<S>
org.refcodes.mixin.SourceAccessor.SourceMutator<SRC>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC>
org.refcodes.graphical.Position.PositionBuilder<B extends org.refcodes.graphical.Position.PositionBuilder<B>>, org.refcodes.graphical.Position.PositionMutator, org.refcodes.graphical.Position.PositionProperty, org.refcodes.graphical.Position.PositionPropertyBuilder
org.refcodes.graphical.PosXAccessor.PosXBuilder<B extends org.refcodes.graphical.PosXAccessor.PosXBuilder<B>>, org.refcodes.graphical.PosXAccessor.PosXMutator, org.refcodes.graphical.PosXAccessor.PosXProperty
org.refcodes.graphical.PosYAccessor.PosYBuilder<B extends org.refcodes.graphical.PosYAccessor.PosYBuilder<B>>, org.refcodes.graphical.PosYAccessor.PosYMutator, org.refcodes.graphical.PosYAccessor.PosYProperty
org.refcodes.graphical.Vector.VectorBuilder<B extends org.refcodes.graphical.Vector.VectorBuilder<B>>, org.refcodes.graphical.Vector.VectorMutator, org.refcodes.graphical.Vector.VectorProperty, org.refcodes.graphical.Vector.VectorPropertyBuilder
org.refcodes.graphical.VectorXAccessor.VectorXBuilder<B extends org.refcodes.graphical.VectorXAccessor.VectorXBuilder<B>>, org.refcodes.graphical.VectorXAccessor.VectorXMutator, org.refcodes.graphical.VectorXAccessor.VectorXProperty
org.refcodes.graphical.VectorYAccessor.VectorYBuilder<B extends org.refcodes.graphical.VectorYAccessor.VectorYBuilder<B>>, org.refcodes.graphical.VectorYAccessor.VectorYMutator, org.refcodes.graphical.VectorYAccessor.VectorYProperty
ACTION
Constructor and Description |
---|
PositionChangedEventImpl(int aPosX,
int aPosY,
int aPrePosX,
int aPrePosY,
Player<S> aSource) |
PositionChangedEventImpl(org.refcodes.graphical.Position aPosition,
org.refcodes.graphical.Position aPrecedingPosition,
Player<S> aSource) |
Modifier and Type | Method and Description |
---|---|
int |
getPositionX() |
int |
getPositionY() |
org.refcodes.graphical.Position |
getPrecedingPosition() |
int |
getVectorX() |
int |
getVectorY() |
String |
toString() |
getAction, getSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAction
public PositionChangedEventImpl(int aPosX, int aPosY, int aPrePosX, int aPrePosY, Player<S> aSource)
public org.refcodes.graphical.Position getPrecedingPosition()
getPrecedingPosition
in interface PositionChangedEvent<S>
public int getPositionX()
getPositionX
in interface org.refcodes.graphical.PosXAccessor
public int getPositionY()
getPositionY
in interface org.refcodes.graphical.PosYAccessor
public int getVectorX()
getVectorX
in interface org.refcodes.graphical.VectorXAccessor
public int getVectorY()
getVectorY
in interface org.refcodes.graphical.VectorYAccessor
public String toString()
toString
in class AbstractPlayerEvent<S>
Copyright © 2016. All rights reserved.