public class Door extends SimpleDirectional
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static Door |
of(boolean rightHinge,
boolean powered) |
static Door |
of(SimpleDirection direction,
boolean open) |
String |
toString() |
getDirection, ofpublic static Door of(@Nonnull SimpleDirection direction, boolean open)
public static Door of(boolean rightHinge, boolean powered)
public int hashCode()
hashCode in class SimpleDirectionalpublic boolean equals(Object o)
equals in class SimpleDirectionalpublic String toString()
toString in class SimpleDirectionalCopyright © 2017–2018 NukkitX. All rights reserved.