Stardew_Valley_Mods/GeneralMods/CustomNPCFramework/Framework/Enums/Direction.cs

37 lines
908 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CustomNPCFramework.Framework.Enums
{
2018-03-19 10:06:08 +08:00
/// <summary>
/// An enum to be used to signify directions.
/// The enum order corresponds to the same order Stardew Valley uses for directions where
/// Up=0
/// Right=1
/// Down=2
/// Left=3
/// </summary>
public enum Direction
{
2018-03-19 10:06:08 +08:00
/// <summary>
/// Used to signify something to face/move up.
/// </summary>
up,
2018-03-19 10:06:08 +08:00
/// <summary>
/// Used to signify something to face/move right.
/// </summary>
right,
2018-03-19 10:06:08 +08:00
/// <summary>
/// Used to signify something to face/move down.
/// </summary>
down,
2018-03-19 10:06:08 +08:00
/// <summary>
/// Used to signify something to face/move left.
/// </summary>
left
}
}