getObject method

GameObject? getObject(
  1. WorldState state
)

Implementation

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