@Environment(value=CLIENT) public class MonitorTracker extends Object
Modifier and Type | Field and Description |
---|---|
private MonitorFactory |
monitorFactory |
private it.unimi.dsi.fastutil.longs.Long2ObjectMap<Monitor> |
pointerToMonitorMap |
Constructor and Description |
---|
MonitorTracker(MonitorFactory monitorFactory) |
Modifier and Type | Method and Description |
---|---|
static int |
clamp(int value,
int min,
int max) |
Monitor |
getMonitor(long long2) |
Monitor |
getMonitor(Window window) |
private void |
handleMonitorEvent(long monitor,
int event) |
void |
stop() |
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Monitor> pointerToMonitorMap
private final MonitorFactory monitorFactory
public MonitorTracker(MonitorFactory monitorFactory)