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.badlogic.androidgames.framework; // ww w . j a va 2 s . c o m import com.badlogic.androidgames.framework.math.Vector2; public class DynamicGameObject extends GameObject { public final Vector2 velocity; public final Vector2 accel; public DynamicGameObject(float x, float y, float width, float height) { super(x, y, width, height); velocity = new Vector2(); accel = new Vector2(); } }