Package org.baseagent.particles
Class Particle
java.lang.Object
org.baseagent.particles.Particle
- All Implemented Interfaces:
HasFineGridPosition
,HasGridPosition
-
Constructor Details
-
Particle
public Particle(double x, double y, double size, javafx.scene.paint.Color color)
-
-
Method Details
-
setCellX
public void setCellX(int x) - Specified by:
setCellX
in interfaceHasGridPosition
-
setCellY
public void setCellY(int y) - Specified by:
setCellY
in interfaceHasGridPosition
-
setFineX
public void setFineX(double x) - Specified by:
setFineX
in interfaceHasFineGridPosition
-
setFineY
public void setFineY(double y) - Specified by:
setFineY
in interfaceHasFineGridPosition
-
setHeading
public void setHeading(double heading) -
getCellX
public int getCellX()- Specified by:
getCellX
in interfaceHasGridPosition
-
getCellY
public int getCellY()- Specified by:
getCellY
in interfaceHasGridPosition
-
getGridLayer
- Specified by:
getGridLayer
in interfaceHasGridPosition
-
getHeading
public double getHeading()- Specified by:
getHeading
in interfaceHasGridPosition
-
getFineX
public double getFineX()- Specified by:
getFineX
in interfaceHasFineGridPosition
-
getFineY
public double getFineY()- Specified by:
getFineY
in interfaceHasFineGridPosition
-