org.bukkit.material
Interface Openable

All Known Implementing Classes:
Door, Gate, TrapDoor

public interface Openable


Method Summary
 boolean isOpen()
          Check to see if the door is open.
 void setOpen(boolean isOpen)
          Configure this door to be either open or closed;
 

Method Detail

isOpen

boolean isOpen()
Check to see if the door is open.

Returns:
true if the door has swung counterclockwise around its hinge.

setOpen

void setOpen(boolean isOpen)
Configure this door to be either open or closed;

Parameters:
isOpen - True to open the door.


Copyright © 2013. All Rights Reserved.