Class DialogueFactory

java.lang.Object
com.deco2800.game.entities.factories.DialogueFactory

public class DialogueFactory extends Object
Factory to create non-playable dialogue box entities. Team 7 all-mid-npc All the dialogue created here should only have animation, but no interaction with player, the interaction function should be found in components->NPC->DialogueComponent.
  • Constructor Details

    • DialogueFactory

      public DialogueFactory()
  • Method Details

    • createDialogue

      public static Entity createDialogue()
      Create a dialogue box entity
      Returns:
      entity