Back to project page tetris-android.
The source code is released under:
MIT License
If you think the Android project tetris-android 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 com.ultimate39.android.games.tetris; import com.badlogic.androidgames.framework.math.Vector2; //ww w . j a v a 2 s . c o m public class Square { Vector2 position; int color; int newFieldX,newFieldY; public Square(Vector2 position,int color,int fieldX,int fieldY){ this.position = position; this.color = color; this.newFieldX = fieldX; this.newFieldY = fieldY; } }