Interface ValidateableRule

All Known Implementing Classes:
DoubleRule

public interface ValidateableRule
A type of game rule which can validate an input. This can be used to enforce syntax or clamp values.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Validates if a rule can accept the input.
  • Method Details

    • validate

      boolean validate(String value)
      Validates if a rule can accept the input.
      Parameters:
      value - the value to validate
      Returns:
      true if the value can be accepted.