Back to project page slider.
The source code is released under:
Apache License
If you think the Android project slider listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.devisnik.sliding; /* ww w .java 2s . c o m*/ /** * A rectangular frame filled with sliding pieces, containing one hole. * This models a 15-puzzle-like sliding game. */ public interface IFrame extends Iterable<IPiece> { Point getSize(); IPiece getPieceAt(int posX, int posY); IHole getHole(); boolean execute(IMove move); void addListener(IFrameListener listener); void removeListener(IFrameListener listener); }