Package one.empty3.apps.opad
Class Bullet
java.lang.Object
one.empty3.library.Representable
one.empty3.apps.opad.Bullet
- All Implemented Interfaces:
Serializable,Comparable,TemporalComputedObject3D,MatrixPropertiesObject,MoveeObject,XmlRepresentable
- See Also:
-
Field Summary
Fields inherited from class one.empty3.library.Representable
CFAST, classPainters, DEFAULT_TEXTURE, defaultHashMapData, DISPLAY_ALL, materiau, NFAST, parent, PATH_ELEM_DOUBLE_VALUES, PATH_ELEM_REPRESENTABLE, PATH_ELEM_STRUCTURE_MATRIX, render, rotation, SCALE1, scene, SURFACE_DISPLAY_COL_QUADS, SURFACE_DISPLAY_COL_TRI, SURFACE_DISPLAY_LINES, SURFACE_DISPLAY_POINTS, SURFACE_DISPLAY_TEXT_QUADS, T, texture -
Constructor Summary
ConstructorsConstructorDescriptionBullet()Bullet(Point3D origin, Point3D direction, double speed, Representable shape, long nanoTime) -
Method Summary
Modifier and TypeMethodDescriptionlonggetShape()doublegetSpeed()voidsetDirection(Point3D direction) voidvoidvoidsetPositionAtTime(Point3D point3D, long l) voidsetShape(Representable shape) voidsetSpeed(double speed) Methods inherited from class one.empty3.library.Representable
become, calculerCurveT, calculerPointT, calculerSurfaceT, compareTo, copy, declarations, declareProperties, draw, drawStructureDrawFast, getCFAST, getDeclaredDataStructure, getDeclaredLists, getDeclaredProperty, getDisplayType, getDisplayTypes, getPainter, getPath, getProperty, getPropertyType, getRotation, getTexture, id, id, informer, intersects, intersects, ISdrawStructureDrawFastIMPLEMENTED, paint, replace, rotate, setCFAST, setDisplayType, setPainter, setPaintingAct, setPaintingActForClass, setPosition, setProperty, setRotation, setTexture, supporteTexture, T, texture, texture, toString, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation
-
Constructor Details
-
Bullet
-
Bullet
public Bullet()
-
-
Method Details
-
getNanoTime
public long getNanoTime() -
setNanoTime
public void setNanoTime() -
getOrigin
-
setOrigin
-
getDirection
-
setDirection
-
getSpeed
public double getSpeed() -
setSpeed
public void setSpeed(double speed) -
getShape
-
setShape
-
getPosition
-
setPositionAtTime
- Specified by:
setPositionAtTimein interfaceMoveeObject
-
getCurrentPosition
- Specified by:
getCurrentPositionin interfaceMoveeObject
-