Interface IBoatExtension
public interface IBoatExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleancanBoatInFluid(FluidState state) Returns whether the boat can be used on the fluid.default booleancanBoatInFluid(FluidType type) Returns whether the boat can be used on the fluid.private Boatself()
-
Method Details
-
self
-
canBoatInFluid
Returns whether the boat can be used on the fluid.- Parameters:
state- the state of the fluid- Returns:
trueif the boat can be used,falseotherwise
-
canBoatInFluid
Returns whether the boat can be used on the fluid.- Parameters:
type- the type of the fluid- Returns:
trueif the boat can be used,falseotherwise
-