servicepoint/servicepoint2-binding-cs/src/Constants.cs

23 lines
571 B
C#
Raw Normal View History

2024-05-13 00:17:40 +02:00
namespace ServicePoint2;
public static class Constants
{
/// size of a single tile in one dimension
public const int TileSize = 8;
/// tile count in the x-direction
public const int TileWidth = 56;
/// tile count in the y-direction
public const int TileHeight = 20;
/// screen width in pixels
public const int PixelWidth = TileWidth * TileSize;
/// screen height in pixels
public const int PixelHeight = TileHeight * TileSize;
/// pixel count on whole screen
public const int PixelCount = PixelWidth * PixelHeight;
}