public void SetMovingState(MovingState movingState) => _movingState = movingState;
public Robot() { _movingState = new RestingState(this); _positionX = 50; _positionY = 50; }