Class Connections
- java.lang.Object
-
- net.sf.gridarta.model.connectionview.Connections
-
public class Connections extends java.lang.ObjectUtility class to parse "connected" fields in game objects.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int @Nullable []parseConnections(@NotNull BaseObject<?,?,?,?> gameObject)Extract the "connected" value(s) from a given game object.
-
-
-
Method Detail
-
parseConnections
public static int @Nullable [] parseConnections(@NotNull @NotNull BaseObject<?,?,?,?> gameObject)Extract the "connected" value(s) from a given game object.- Parameters:
gameObject- the game object to process- Returns:
- the connected values, or
nullif the game object does not contain a "connected" field
-
-