Class Cutscene

java.lang.Object
com.csse3200.game.missions.cutscenes.Cutscene

public class Cutscene extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Represents what type if cutscene the cutscene will be
  • Constructor Summary

    Constructors
    Constructor
    Description
    Cutscene(String dialogue, Cutscene.CutsceneType cutsceneType)
    Creates an instance of the cutscene class and assigns all variables as they need to be assigned - DOES NOT SPAWN THE ACTUAL CUTSCENE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Tears down the cutscene
    void
    Creates the whole cutscene - to call other methods below this method

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Cutscene

      public Cutscene(String dialogue, Cutscene.CutsceneType cutsceneType)
      Creates an instance of the cutscene class and assigns all variables as they need to be assigned - DOES NOT SPAWN THE ACTUAL CUTSCENE
      Parameters:
      dialogue - - the dialogue to be displayed in the cutscene
  • Method Details

    • spawnCutscene

      public void spawnCutscene()
      Creates the whole cutscene - to call other methods below this method
    • endCutscene

      public void endCutscene()
      Tears down the cutscene