1package com.runehive.game.world.object;
3import java.util.Arrays;
4import java.util.Optional;
42 return Arrays.stream(values()).filter(group -> group.value ==
value).findAny();
ObjectGroup(int value)
Creates the ObjectGroup.
static Optional< ObjectGroup > valueOf(int value)
Attempts to find the ObjectGroup with the specified integer value.
GROUND_DECORATION
The ground decoration object group, which may block a tile.
WALL_DECORATION
The wall decoration object group, which never blocks a tile.
ROOFING
The roof parts that disappear on a camera angle.
INTERACTABLE_OBJECT
The interactable object group, for objects that can be clicked and interacted with.
final int value
The integer value of the group.
WALL
The wall object group, which may block a tile.
int getValue()
Gets the value of this ObjectGroup.