org.mars_sim.msp.core.manufacture
Interface Salvagable

All Known Implementing Classes:
Bag, Barrel, Equipment, EVASuit, GasCanister, GroundVehicle, LargeBag, LightUtilityVehicle, Rover, SpecimenContainer, Vehicle

public interface Salvagable

An interface for salvagable items.


Method Summary
 SalvageInfo getSalvageInfo()
          Gets the salvage info.
 boolean isSalvaged()
          Checks if the item is salvaged.
 void startSalvage(SalvageProcessInfo info, Settlement settlement)
          Indicate the start of a salvage process on the item.
 

Method Detail

isSalvaged

boolean isSalvaged()
Checks if the item is salvaged.

Returns:
true if salvaged.

startSalvage

void startSalvage(SalvageProcessInfo info,
                  Settlement settlement)
Indicate the start of a salvage process on the item.

Parameters:
info - the salvage process info.
settlement - the settlement where the salvage is taking place.

getSalvageInfo

SalvageInfo getSalvageInfo()
Gets the salvage info.

Returns:
salvage info or null if item not salvaged.


Copyright © 2009-2013. All Rights Reserved.