private void Awake() { BrokenCameraFilter = brokenCameraFilter; CameraComponent = cameraComponent; WheelComponent = wheelComponent; EquippableItems = equippableItems; }
static void Main(string[] args) { var component = new RoverComponent(); var rover = component.Create(); PrintLocation(rover); var command = GetValidInput(); while (command != Command.Quit) { rover = component.ProcessCommand(command, rover); PrintLocation(rover); command = GetValidInput(); } PrintLocation(rover); }