java.lang.Object
com.csse3200.game.cutscene.validators.actionvalidators.GotoValidator
All Implemented Interfaces:
ActionValidator

public class GotoValidator extends Object implements ActionValidator
Implements the ActionValidator interface for concrete implementation of the validate method.

Validates goto events against the following conditions:

  • cutsceneId must be a string
  • beatId must be a string
  • If cutsceneId == "current" then beatId must reference a valid Beat
Cross cutscene beat validation is not performed.
  • Constructor Details

    • GotoValidator

      public GotoValidator()
  • Method Details