KinematicSimulator
Class Entity

java.lang.Object
  |
  +--KinematicSimulator.Entity
Direct Known Subclasses:
Ball

public class Entity
extends java.lang.Object

This class defines the common behavior for the entity objects in the SimulatorViewer window.


Field Summary
protected  java.awt.Color color
           
protected  double x
           
protected  double xv
           
protected  double y
           
protected  double yv
           
 
Constructor Summary
Entity()
           
Entity(double d, double d1, double d2, double d3, java.awt.Color color1)
           
 
Method Summary
 double momentum_x()
           
 double momentum_y()
           
 double pos_x()
           
 double pos_y()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected double x

y

protected double y

xv

protected double xv

yv

protected double yv

color

protected java.awt.Color color
Constructor Detail

Entity

public Entity()

Entity

public Entity(double d,
              double d1,
              double d2,
              double d3,
              java.awt.Color color1)
Method Detail

pos_x

public double pos_x()

pos_y

public double pos_y()

momentum_y

public double momentum_y()

momentum_x

public double momentum_x()