public class Connections
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int[] |
parseConnections(BaseObject<?,?,?,?> gameObject)
Extract the "connected" value(s) from a given game object.
|
@Nullable public static int[] parseConnections(@NotNull BaseObject<?,?,?,?> gameObject)
gameObject
- the game object to processnull
if the game object does not
contain a "connected" field