Class TestUpdate

java.lang.Object
tech.underoaks.coldcase.state.updates.GameStateUpdate
tech.underoaks.coldcase.state.updates.TestUpdate

public class TestUpdate extends GameStateUpdate
A test implementation of GameStateUpdate for adding TestContent to a tile.
  • Constructor Details

    • TestUpdate

      public TestUpdate(com.badlogic.gdx.math.Vector2 pos)
      Constructs a new TestUpdate.
      Parameters:
      pos - The position where the TestContent will be added.
  • Method Details

    • apply

      public void apply(Map map)
      Description copied from class: GameStateUpdate
      Applies the GameStateUpdate to the game state.
      Specified by:
      apply in class GameStateUpdate
      Parameters:
      map - the map that will receive changes.