mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
- Determine if we can move to the specified direction - Add moving ability to the specified direction - Add /move command for triggering moves - Add move decomp. into steps (more natural) - Add pathfinding routines (still WIP) - SO YES YOU CAN NOW WALK USING MCC!!!
21 lines
423 B
C#
21 lines
423 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace MinecraftClient.Mapping
|
|
{
|
|
/// <summary>
|
|
/// Represents a unit movement in the world
|
|
/// </summary>
|
|
/// <see href="http://minecraft.gamepedia.com/Coordinates"/>
|
|
public enum Direction
|
|
{
|
|
South = 0,
|
|
West = 1,
|
|
North = 2,
|
|
East = 3,
|
|
Up = 4,
|
|
Down = 5
|
|
}
|
|
}
|