getObject method

GameObject? getObject(
  1. WorldState state
)

Implementation

GameObject? getObject(WorldState state) => object == null
    ? null
    : state
        .getTable(cell.table)
        ?.getCell(cell.position)
        .objects
        .elementAtOrNull(object!);