public static void AddObject(Cell cell, Cell.CellObjectType type) { if (cell != null) { cell.AddObject(type); } }
public static void AddObject(int id, Cell.CellObjectType type) { AddObject(SafeGetCell(id), type); }
public static void AddObject(int x, int y, Cell.CellObjectType type) { AddObject(SafeGetCell(x, y), type); }
public static void AddObject(Vector2Int vector2, Cell.CellObjectType type) { AddObject(SafeGetCell(vector2), type); }