Class TractorFactory

java.lang.Object
com.csse3200.game.entities.factories.TractorFactory

public class TractorFactory extends Object
  • Constructor Details

    • TractorFactory

      public TractorFactory()
  • Method Details

    • createTractor

      public static Entity createTractor()
      Creates an Entity and adds all necessary componenets to make it function as a tractor should
      Returns:
      a referenece to the tractor entity
    • setupTractorAnimations

      public static AnimationRenderComponent setupTractorAnimations()
      Adds all animations to the AnimationRenderComponent for the tractor to use
      Returns:
      an AnimationRenderComponent with the tractors animations added.