Added basic symbols for most of the resources and changed map to be revealed whilst robots are exploring.
This commit is contained in:
@@ -56,4 +56,17 @@ public partial class ResourceLoader
|
||||
};
|
||||
return nodes;
|
||||
}
|
||||
|
||||
public static Dictionary<string, Texture2D> LoadResourceSymbols()
|
||||
{
|
||||
Dictionary<string, Texture2D> symbols = new()
|
||||
{
|
||||
{ "Iron ore", GD.Load<Texture2D>($"res://Assets/IronSymbol.png") },
|
||||
{ "Tin ore", GD.Load<Texture2D>($"res://Assets/TinSymbol.png") },
|
||||
{ "Copper ore", GD.Load<Texture2D>($"res://Assets/CopperSymbol.png") },
|
||||
{ "Mushroom", GD.Load<Texture2D>($"res://Assets/MushroomSymbol.png") },
|
||||
{ "Spiderweb", GD.Load<Texture2D>($"res://Assets/SpiderwebSymbol.png") },
|
||||
};
|
||||
return symbols;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user