summaryrefslogtreecommitdiff
path: root/scripts/Utils
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-08-28 00:38:48 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-08-28 00:38:48 -0300
commit2fb787a744d4f7a37d81233d2913a5ef39122f73 (patch)
treef9595d6757203146aa8201a86275c2c842bae03b /scripts/Utils
parent6c7e2ac133986efa57b43df52a5498c6f7efcf75 (diff)
Comentarios
Diffstat (limited to 'scripts/Utils')
-rw-r--r--scripts/Utils/Grid.cs6
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);