Example #1
0
    public DirectionEnum GetDirection(TileObject t1, TileObject t2)
    {
        var t = TileObject.Distance(t1, t2);
        var v = new Vector2(t.Item1, t.Item2);

        return(Direction.FromV2(v));
    }