Interface ObservableInitDefaultHamsterCommandSpecification
- All Superinterfaces:
ObservableAbstractTerritoryTileCommandSpecification
,ObservableCommandSpecification
public interface ObservableInitDefaultHamsterCommandSpecification
extends ObservableAbstractTerritoryTileCommandSpecification
observable version of command specification used to init the default hamster at a specific location and direction
-
Method Summary
Modifier and TypeMethodDescriptionGet the hamster's new directionint
Get the hamster's new grain countMethods inherited from interface de.hamstersimulator.objectsfirst.adapter.observables.command.specification.territory.ObservableAbstractTerritoryTileCommandSpecification
getLocation
-
Method Details
-
getDirection
Direction getDirection()Get the hamster's new direction- Returns:
- the hamster's new direction (!= null)
-
getGrainCount
int getGrainCount()Get the hamster's new grain count- Returns:
- the hamster's new grain count (greater than or equal to 0)
-