public class Bed extends SimpleDirectional
| Modifier and Type | Class and Description |
|---|---|
static class |
Bed.Part |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static Bed |
of(SimpleDirection direction,
boolean occupied,
Bed.Part part) |
String |
toString() |
getDirection, ofpublic static Bed of(SimpleDirection direction, boolean occupied, Bed.Part part)
public int hashCode()
hashCode in class SimpleDirectionalpublic boolean equals(Object o)
equals in class SimpleDirectionalpublic String toString()
toString in class SimpleDirectionalCopyright © 2017–2020 NukkitX. All rights reserved.