Class TurtleCarryComponent

java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.minigames.maze.components.npc.TurtleCarryComponent

public class TurtleCarryComponent extends Component
A component that let's turtles carry around an object on their backs.
  • Constructor Details

    • TurtleCarryComponent

      public TurtleCarryComponent(Entity carry)
  • Method Details

    • update

      public void update()
      Description copied from class: Component
      Called once per frame of the game, and should be used for most component logic. Not called if component is disabled.
      Overrides:
      update in class Component