public class ElectricCharge
extends java.lang.Object
Constructor and Description |
---|
ElectricCharge(double x,
double y,
double charge) |
Modifier and Type | Method and Description |
---|---|
double |
getCharge() |
java.awt.geom.Point2D |
getPosition() |
boolean |
isMoveable() |
void |
move(double deltax,
double deltay) |
void |
setMoveable(boolean moveable) |