~ruther/NosSmooth

ref: 419415627683d961c9a0f060e4e52d422baea40e NosSmooth/Extensions/NosSmooth.Extensions.Pathfinding/EntityState.cs -rw-r--r-- 689 bytes
41941562 — Rutherther feat(pathfinding): save mates state 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
//  EntityState.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace NosSmooth.Extensions.Pathfinding;

/// <summary>
/// A state, position of an entity.
/// </summary>
internal class EntityState
{
    /// <summary>
    /// Gets id of the entity.
    /// </summary>
    internal long Id { get; init; }

    /// <summary>
    /// Gets or sets the x coordinate of the entity.
    /// </summary>
    internal short X { get; set; }

    /// <summary>
    /// Gets or sets the y coordinate of the entity.
    /// </summary>
    internal short Y { get; set; }
}
Do not follow this link