Back to project page mgcube.
The source code is released under:
qp is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported http://creativecommons.org/licenses/by-nc-nd/3.0/ Your are not allowed to publish this game under your name.
If you think the Android project mgcube 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.redlion.qb; /* w ww . j a va2s . c om*/ import com.badlogic.gdx.math.Vector3; import com.badlogic.gdx.utils.Array; public class Switch extends Renderable{ public boolean isSwitched = false; public float switchAnimation = 0.0f; int id = 0; Array<SwitchableBlock> sBlocks = new Array<SwitchableBlock>(); public Switch(Vector3 position) { this.position = position; } }