baseline: OpenMU upstream b5a0961 (fresh source)
This commit is contained in:
19
src/GameLogic/IMovable.cs
Normal file
19
src/GameLogic/IMovable.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
// <copyright file="IMovable.cs" company="MUnique">
|
||||
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
|
||||
// </copyright>
|
||||
|
||||
namespace MUnique.OpenMU.GameLogic;
|
||||
|
||||
using MUnique.OpenMU.Pathfinding;
|
||||
|
||||
/// <summary>
|
||||
/// Interface for an object which supports to be moved on a map.
|
||||
/// </summary>
|
||||
public interface IMovable
|
||||
{
|
||||
/// <summary>
|
||||
/// Moves the object to the specified target coordinates.
|
||||
/// </summary>
|
||||
/// <param name="target">The target coordinates.</param>
|
||||
ValueTask MoveAsync(Point target);
|
||||
}
|
||||
Reference in New Issue
Block a user