Ejemplo n.º 1
0
        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);
        }