public (int x, int y) GetCoords(Placer tileBeforeOffset, int offsetIndex) { (int x, int y) = tileBeforeOffset.GetCoords(); Offset offset = TileObject.Config.Offsets[offsetIndex]; return(x + offset.X, y - offset.Y); }
public (int x, int y) GetCoords(Placer tileBeforeOffset, int offsetIndex) { (int x, int y) = tileBeforeOffset.GetCoords(); Offset offset = TileObject.Config.Offsets[offsetIndex]; return(x + offset.X, y - offset.Y); }