Class TractorFactory
java.lang.Object
com.csse3200.game.entities.factories.TractorFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Entity
Creates an Entity and adds all necessary componenets to make it function as a tractor shouldstatic AnimationRenderComponent
Adds all animations to the AnimationRenderComponent for the tractor to use
-
Constructor Details
-
TractorFactory
public TractorFactory()
-
-
Method Details
-
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
Adds all animations to the AnimationRenderComponent for the tractor to use- Returns:
- an AnimationRenderComponent with the tractors animations added.
-