public override bool IsValidEmployeeLocation(Dir dir) { if (Forklift != null) { return(Forklift.Move(dir)); } else if (Crate != null) { return(Crate.Move(dir)); } else { return(true); } }
public void MoveForklift(Dir dir) { Forklift.Move(dir); }