37 lines
833 B
C#
37 lines
833 B
C#
using Godot;
|
|
using System;
|
|
|
|
namespace Newlon;
|
|
|
|
//
|
|
// Class for general-used constants and utility tools
|
|
//
|
|
|
|
public class Utility
|
|
{
|
|
//
|
|
// Code-accessed enumenators
|
|
//
|
|
#region Enums
|
|
|
|
public enum EffectSlots { FREEZE, STUN, POISON, GARLIC };
|
|
|
|
public enum DamageTypes { PHYSICAL, ICE };
|
|
|
|
#endregion
|
|
|
|
public const int EffectSlotCount = 4;
|
|
public const int LineCount = 5;
|
|
public const int TileWidth = 50;
|
|
public const int TileHeight = 60;
|
|
public const int LayersCount = 3;
|
|
public static Vector2I LeftFieldBoundary = new(305, 76);
|
|
public static Vector2I RightFieldBoundary = new(755, 376);
|
|
public static readonly Vector2 Tile = new(TileWidth, TileHeight);
|
|
|
|
public static double SFX = 1.0f;
|
|
public static double Music = 1.0f;
|
|
public static bool Splash = false;
|
|
|
|
|
|
}
|