org.refcodes.checkerboard.StateChangedEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of refcodes-checkerboard Show documentation
Show all versions of refcodes-checkerboard Show documentation
Artifact for providing some easy means to visualize (state of) board
games or (state of) cellular automatons.
package org.refcodes.checkerboard;
import org.refcodes.mixin.StateAccessor;
/**
* The Interface StateChangedEvent.
*
* @param the generic type
* @param The state if the player (dead, alive, strong, weak, king, queen,
* PacMan, ghost, fire, wood, water, strong queen, weak king, etc).
*/
public interface StateChangedEvent
, S> extends PlayerEvent
, StateAccessor {
PlayerAction ACTION = PlayerAction.STATE_CHANGED;
/**
* Gets the preceding state.
*
* @return the preceding state
*/
S getPrecedingState();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy