All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.refcodes.checkerboard.StateChangedEvent Maven / Gradle / Ivy

Go to download

Artifact for providing some easy means to visualize (state of) board games or (state of) cellular automatons.

There is a newer version: 3.3.8
Show newest version
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(); }