source: 2014/30/MiskaK/The Reclaim/The Reclaim/The Reclaim/The Reclaim/MapNode.cs @ 5652

Revision 5480, 729 bytes checked in by anlakane, 6 years ago (diff)

Lisätty Reclaim versionhallintaan

Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Jypeli;
6
7/// <summary>
8/// Reitinhaussa käytettävä solmukohta.
9/// </summary>
10public class MapNode
11{
12    /// <summary>
13    /// Onko ruudussa este, jonka läpi ei voi kulkea.
14    /// </summary>
15    public bool IsFull;
16
17    /// <summary>
18    /// Used in search functions.
19    /// </summary>
20    public bool IsExamined;
21
22    public int Distance;
23
24    public MapNode PreviousNode;
25
26    public IntPoint Position;
27
28    public MapNode(bool isFull, IntPoint position)
29    {
30        this.IsFull = isFull;
31        this.IsExamined = false;
32        this.Position = position;
33        this.Distance = 0;
34    }
35}
Note: See TracBrowser for help on using the repository browser.