diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-28 00:38:48 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-28 00:38:48 -0300 |
| commit | 2fb787a744d4f7a37d81233d2913a5ef39122f73 (patch) | |
| tree | f9595d6757203146aa8201a86275c2c842bae03b /scripts/Utils | |
| parent | 6c7e2ac133986efa57b43df52a5498c6f7efcf75 (diff) | |
Comentarios
Diffstat (limited to 'scripts/Utils')
| -rw-r--r-- | scripts/Utils/Grid.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/Utils/Grid.cs b/scripts/Utils/Grid.cs index cde01f6..271f559 100644 --- a/scripts/Utils/Grid.cs +++ b/scripts/Utils/Grid.cs @@ -1,6 +1,12 @@ using Godot; using System; +/// <summary> +/// Classe utilitária para converter coordenadas da malha dos tiles +/// em coordenadas em pixels. +/// Esta classe é necessária porque o Godot trata posições em pixels, +/// mas faz mais sentido tratarmos as posições em tiles. +/// </summary> public abstract partial class Grid : GodotObject { public static readonly Vector2I tileSize = new(16, 16); |
