Class CompanionFactory

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

public class CompanionFactory extends Object
Factory to create a companion entity.
  • Method Details

    • createCompanion

      public static Entity createCompanion()
    • createCompanion

      public static Entity createCompanion(CompanionConfig config)
      Create a Companion entity matching the config file
      Parameters:
      config - Configuration file to match companion to
      Returns:
      The created companion entity.