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
-
Method Details
-
validate
Validates if a rule can accept the input.- Parameters:
value
- the value to validate- Returns:
- true if the value can be accepted.
-