Ejemplo n.º 1
0
    private static EntityDataRoot smethod_22(Map map_0, CollidableRect collidableRect_0)
    {
        Rectangle rectangle = collidableRect_0.imethod_1();

        DarkorbitAPI.CommonStructures.Size mapSize = map_0.MapSize;
        Color cyan   = Color.Cyan;
        Color color_ = Color.FromArgb(60, (int)cyan.R, (int)cyan.G, (int)cyan.B);

        return(GClass891.smethod_15(map_0, (float)rectangle.X, (float)rectangle.Y, new EntityRenderFragment[]
        {
            GClass891.smethod_8(color_, (float)rectangle.Width / (float)mapSize.Width, (float)rectangle.Height / (float)mapSize.Height, null)
        }));
    }