mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
25 lines
360 B
Java
25 lines
360 B
Java
package com.hbm.interfaces;
|
|
|
|
public interface IDoor {
|
|
|
|
void open();
|
|
void close();
|
|
DoorState getState();
|
|
void toggle();
|
|
default boolean setTexture(String tex) {
|
|
return false;
|
|
}
|
|
default void setTextureState(byte tex) { }
|
|
|
|
default boolean setSkinIndex(byte skinIndex) {
|
|
return false;
|
|
}
|
|
|
|
enum DoorState {
|
|
CLOSED,
|
|
OPEN,
|
|
CLOSING,
|
|
OPENING
|
|
}
|
|
}
|