newlon/scripts/Utility.cs

21 lines
513 B
C#

using Godot;
using System;
namespace Newlon;
//
// Class for general-used constants and utility tools
//
public partial class Utility
{
public const int TileWidth = 50;
public const int TileHeight = 60;
public const int LayersCount = 3;
public static readonly Vector2I LeftFieldBoundary = new Vector2I(305,76);
public static readonly Vector2I RightFieldBoundary = new Vector2I(755,376);
public static readonly Vector2 Tile = new Vector2(Utility.TileWidth, Utility.TileHeight);
}