Class Bullet

All Implemented Interfaces:
Serializable, Comparable, TemporalComputedObject3D, MatrixPropertiesObject, MoveeObject, XmlRepresentable

public class Bullet extends Representable implements MoveeObject
See Also:
  • Constructor Details

    • Bullet

      public Bullet(Point3D origin, Point3D direction, double speed, Representable shape, long nanoTime)
    • Bullet

      public Bullet()
  • Method Details

    • getNanoTime

      public long getNanoTime()
    • setNanoTime

      public void setNanoTime()
    • getOrigin

      public Point3D getOrigin()
    • setOrigin

      public void setOrigin(Point3D origin)
    • getDirection

      public Point3D getDirection()
    • setDirection

      public void setDirection(Point3D direction)
    • getSpeed

      public double getSpeed()
    • setSpeed

      public void setSpeed(double speed)
    • getShape

      public Representable getShape()
    • setShape

      public void setShape(Representable shape)
    • getPosition

      public Point3D getPosition()
    • setPositionAtTime

      public void setPositionAtTime(Point3D point3D, long l)
      Specified by:
      setPositionAtTime in interface MoveeObject
    • getCurrentPosition

      public Point3D getCurrentPosition()
      Specified by:
      getCurrentPosition in interface MoveeObject