Exemplo n.º 1
0
    private static EntityDataRoot smethod_21(Map map_0)
    {
        EntityDataRoot entityDataRoot = GClass891.smethod_2(map_0, map_0.Hero);
        Color          color_         = MapUtils.smethod_16(map_0, map_0.Hero);

        entityDataRoot.Data = new List <EntityRenderFragment>();
        if (map_0.Hero.MovementDestination != null)
        {
            Vector2 value   = map_0.Hero.MovementDestination.Value;
            float   float_  = value.X / (float)map_0.MapSize.Width;
            float   float_2 = value.Y / (float)map_0.MapSize.Height;
            entityDataRoot.Data.Add(GClass891.smethod_10(Color.Transparent, 2, float_, float_2, new Color?(Color.RoyalBlue)));
        }
        entityDataRoot.Data.Add(GClass891.smethod_6(color_, 8, null));
        return(entityDataRoot);
    }