Android Open Source - RUflow Puzzle






From Project

Back to project page RUflow.

License

The source code is released under:

GNU General Public License

If you think the Android project RUflow listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package is.ru.app;
/*  w w  w  .j av a  2s .c  o m*/
import java.util.List;

/**
 * Created by rur on 15.9.2014.
 */
public class Puzzle {

    private int size;
    private String flows;
    private int id;
    private String name;
    private String challengeName;

    Puzzle(int mSize, String mFlows, int mId, String mName, String mChallengeName){
        size = mSize;
        flows = mFlows;
        id = mId;
        name = mName;
        challengeName = mChallengeName;
    }

    int getSize(){ return size;}
    String getFlows() {return flows;}
    int getId() {return id;}
    String getName() {return name;}
    String getChallengeName() {return challengeName;}

    public String toString(){
        return getChallengeName() + " - " + getName();
    }
}
/*
<puzzle id="1">
<size>5</size>
<flows>(0 0 1 4), (2 0 1 3), (2 1 2 4), (4 0 3 3), (4 1 3 4)</flows>
</puzzle>*/




Java Source Code List

is.ru.app.Board.java
is.ru.app.Cellpath.java
is.ru.app.ColorListActivity.java
is.ru.app.Coordinate.java
is.ru.app.DbHelper.java
is.ru.app.FlowDbAdapter.java
is.ru.app.Global.java
is.ru.app.MainActivity.java
is.ru.app.MapPack.java
is.ru.app.Pack.java
is.ru.app.PlayActivity.java
is.ru.app.PuzzleSelectActivity.java
is.ru.app.Puzzle.java
is.ru.app.SelectActivity.java
is.ru.app.SuperPath.java