All Superinterfaces:
ObservableAbstractHamsterCommandSpecification, ObservableCommandSpecification
All Known Implementing Classes:
PickGrainCommandSpecification

public interface ObservablePickGrainCommandSpecification extends ObservableAbstractHamsterCommandSpecification
observable version of command specification used to make the hamster pick up one grain
  • Method Details

    • getGrain

      ObservableGrain getGrain()
      Get the grain the hamster picked up
      Returns:
      the grain the hamster picked up, != null