Back to project page physics.
The source code is released under:
GNU General Public License
If you think the Android project physics 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.nuaavee.physics.model; //from w ww . j ava2s . c om import android.graphics.Canvas; import com.nuaavee.physics.model.action.Actionable; /** * @author nuaavee */ public abstract class PhysicalObject extends Actionable { private final Coordinate position; public PhysicalObject(Coordinate position) { this.position = position; } public Coordinate getPosition() { return position; } public abstract void draw(Canvas canvas); }