setPowered

public void setPowered(boolean powered)

Sets the current state of this piston

Parameters

powered

true if the piston is extended & powered, or false