Class Coordinates

java.lang.Object
gaiasky.scene.component.Coordinates
All Implemented Interfaces:
com.badlogic.ashley.core.Component, ICopy

public class Coordinates extends Object implements com.badlogic.ashley.core.Component, ICopy
  • Field Details

    • coordinates

      public IBodyCoordinates coordinates
      Coordinates provider. Provides position coordinates depending on time.
    • timeOverflow

      public boolean timeOverflow
      Whether the current time puts the coordinates are out of time range.
  • Constructor Details

    • Coordinates

      public Coordinates()
  • Method Details

    • setCoordinatesProvider

      public void setCoordinatesProvider(IBodyCoordinates coordinates)
    • setCoordinates

      public void setCoordinates(IBodyCoordinates coordinates)
    • getCopy

      public com.badlogic.ashley.core.Component getCopy(com.badlogic.ashley.core.Engine engine)
      Specified by:
      getCopy in interface ICopy