2018-02-24 15:16:10 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2018-03-04 23:53:55 +08:00
|
|
|
|
namespace CustomNPCFramework.Framework.Enums
|
2018-02-24 15:16:10 +08:00
|
|
|
|
{
|
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>
|
2018-02-24 15:16:10 +08:00
|
|
|
|
public enum Direction
|
|
|
|
|
{
|
2018-03-19 10:06:08 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Used to signify something to face/move up.
|
|
|
|
|
/// </summary>
|
2018-02-24 15:16:10 +08:00
|
|
|
|
up,
|
2018-03-19 10:06:08 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Used to signify something to face/move right.
|
|
|
|
|
/// </summary>
|
2018-02-24 15:16:10 +08:00
|
|
|
|
right,
|
2018-03-19 10:06:08 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Used to signify something to face/move down.
|
|
|
|
|
/// </summary>
|
2018-02-24 15:16:10 +08:00
|
|
|
|
down,
|
2018-03-19 10:06:08 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Used to signify something to face/move left.
|
|
|
|
|
/// </summary>
|
2018-02-24 15:16:10 +08:00
|
|
|
|
left
|
|
|
|
|
}
|
|
|
|
|
}
|