All Implemented Interfaces:
Lifecycle

public class TileMover extends UpdateSystem
Updates the position of tiles based on their coordinate.
  • Constructor Details

    • TileMover

      public TileMover()
  • Method Details

    • process

      protected void process(EntityChunk chunk, float deltaTime)
      Description copied from class: UpdateSystem
      Updates a single entity's data, each frame.
      Specified by:
      process in class UpdateSystem
      Parameters:
      chunk - Entity that matches this system's query
      deltaTime - Delta time in seconds
    • updateTilePosition

      public static void updateTilePosition(Transform transform, TileRenderer tileRenderer)