Updated a large amount of the code to C#

This commit is contained in:
2020-04-19 03:37:18 -06:00
parent 7b68de9526
commit b20710501f
30 changed files with 1046 additions and 1 deletions

22
Collector/Restrictions.cs Normal file
View File

@@ -0,0 +1,22 @@
using System;
using static Collector.IRestrictions;
namespace Collector
{
public interface IRestrictions
{
public const int Seed = 1;
public const float ViewportHeight = 9/2f;
public const float ViewportWidth = 16/2f;
public const int MovementSpeed = 16;
public const int FreeSpeed = 2;
public const int KeyDelay = 0;
public const int TileSize = 16;
public const int ChunkSize = 8;
public const int SuperChunkSize = 1;
public const int TileShift = 5;
public const int ChunkShift = 3;
public const int RenderDistance = 3;
public const float RenderTime = 1/60f;
}
}