27 lines
604 B
C#
27 lines
604 B
C#
using System;
|
|
using TrueCraft.API.World;
|
|
using System.Collections.Generic;
|
|
using TrueCraft.API;
|
|
using TrueCraft.Core.World;
|
|
|
|
namespace TrueCraft.Core
|
|
{
|
|
public class EmptyGenerator : IChunkProvider
|
|
{
|
|
public IChunk GenerateChunk(IWorld world, Coordinates2D coordinates)
|
|
{
|
|
return new Chunk(coordinates);
|
|
}
|
|
|
|
public Coordinates3D GetSpawn(IWorld world)
|
|
{
|
|
return Coordinates3D.Zero;
|
|
}
|
|
|
|
public void Initialize(IWorld world)
|
|
{
|
|
}
|
|
|
|
public IList<IChunkDecorator> ChunkDecorators { get; set; }
|
|
}
|
|
} |