addObject method

ObjectsSpawned addObject(
  1. int x,
  2. int y,
  3. GameObject object
)

Implementation

ObjectsSpawned addObject(int x, int y, GameObject object) =>
    addObjects(x, y, [object]);