示例#1
0
        /// <inheritdoc />
        public override IEntity SpawnEntityAt(string entityType, MapCoordinates coordinates)
        {
            var grid       = _mapManager.FindGridAt(coordinates);
            var gridCoords = new GridCoordinates(grid.WorldToLocal(coordinates.Position), grid);

            return(SpawnEntityAt(entityType, gridCoords));
        }