Interface PropertyChanger

All Known Implementing Classes:
EnumeratedPropertyPrompt, IncrementProperty, NumericPropertyPrompt, PropertyPrompt, PropertySetter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PropertyChanger
Provides a new value for a global property. This class is an abstraction around the act of prompting a user for the new value of a property during a game. Concrete implementation might be to increment a value, prompt the user to select from an enum, etc.
Author:
rkinney
  • Method Summary

    Modifier and Type
    Method
    Description
    getNewValue​(String oldValue)
     
  • Method Details