Added missing Symbol to the game, Improved move and explore logic, added map refresh for tiles.
This commit is contained in:
@@ -14,6 +14,7 @@ public partial class Tile
|
||||
public bool containsLight, containsDecoration, containsResource;
|
||||
public GameResource resource;
|
||||
public bool wasVisited;
|
||||
public event EventHandler OnTileVisited;
|
||||
|
||||
|
||||
public void SetMeshes(Dictionary<string, MeshInstance3D> tileMeshes)
|
||||
@@ -138,4 +139,10 @@ public partial class Tile
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void VisitTile()
|
||||
{
|
||||
wasVisited = true;
|
||||
OnTileVisited?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user