Android Open Source - BoxSorter Element






From Project

Back to project page BoxSorter.

License

The source code is released under:

GNU General Public License

If you think the Android project BoxSorter 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 com.silverhillapps.boxsorter.entities;
/*from  w  ww  . j a v a 2s .c  om*/
/**
 * Entity class for determining a initial element to be rendered in the canvas
 * @author salva
 *
 */
public class Element {

  private int xPos;
  private int yPos;
  private int colour;
  private int size;
  private int figureCode;
  
  
  public int getxPos() {
    return xPos;
  }
  public void setxPos(int xPos) {
    this.xPos = xPos;
  }
  public int getyPos() {
    return yPos;
  }
  public void setyPos(int yPos) {
    this.yPos = yPos;
  }
  public int getColour() {
    return colour;
  }
  public void setColour(int colour) {
    this.colour = colour;
  }
  public int getSize() {
    return size;
  }
  public void setSize(int size) {
    this.size = size;
  }
  public int getFigureCode() {
    return figureCode;
  }
  public void setFigureCode(int figureCode) {
    this.figureCode = figureCode;
  }
  
  
  
}




Java Source Code List

com.silverhillapps.boxsorter.BSApplication.java
com.silverhillapps.boxsorter.BoxSorterActivity.java
com.silverhillapps.boxsorter.conf.Conf.java
com.silverhillapps.boxsorter.conf.Constants.java
com.silverhillapps.boxsorter.entities.Element.java
com.silverhillapps.boxsorter.entities.InitialPositionConfig.java
com.silverhillapps.boxsorter.gesture.BSGestureDetector.java
com.silverhillapps.boxsorter.gesture.BSMoveListener.java
com.silverhillapps.boxsorter.gesture.BSScaleDetector.java
com.silverhillapps.boxsorter.loader.InitialConfLoader.java
com.silverhillapps.boxsorter.loader.JsonAssetsInitialConfLoader.java
com.silverhillapps.boxsorter.loader.LoaderFactory.java
com.silverhillapps.boxsorter.loader.RandomInitialConfLoader.java
com.silverhillapps.boxsorter.subviews.Circle.java
com.silverhillapps.boxsorter.subviews.FigureFactory.java
com.silverhillapps.boxsorter.subviews.Figure.java
com.silverhillapps.boxsorter.subviews.Square.java
com.silverhillapps.boxsorter.utils.Utils.java
com.silverhillapps.boxsorter.views.BoxCanvasView.java