Added basic symbols for most of the resources and changed map to be revealed whilst robots are exploring.
This commit is contained in:
@@ -22,6 +22,8 @@ public class MoveNode : ProgramNode
|
||||
if (distance < 0.1f)
|
||||
{
|
||||
robot.Position = pathPoints[0];
|
||||
Vector3I mapIndex = Pathfinding.GetClosestStartPoint(robot.Position);
|
||||
GameData.map[mapIndex.Y].tiles[mapIndex.X, mapIndex.Z].wasVisited = true;
|
||||
pathPoints.Remove(pathPoints[0]);
|
||||
if (pathPoints.Count <= 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user