Beispiel #1
0
        public static c000215 m0002f0(enum0214 p0)
        {
            c000215 c = new c000215(p0);
            Vector2 vector = new Vector2(((float) c000074.m00000f()) / 2f, ((float) c000074.m000010()) / 2f);
            c.m000027(vector);
            switch (p0)
            {
                case enum0214.f00002b:
                    c.m000051(enum02f.f000044);
                    c.m000023(Vector2.Zero);
                    return c;

                case enum0214.f000090:
                    c.m000051(enum02f.f000044);
                    c.m000023(new Vector2(vector.X, 0f));
                    return c;

                case enum0214.f00009e:
                    c.m000023(new Vector2(0f, vector.Y));
                    return c;

                case enum0214.f00015a:
                    c.m000023(new Vector2(vector.X, vector.Y));
                    return c;

                case enum0214.f00015b:
                    c.m000051(enum02f.f000043);
                    c.m000023(new Vector2(0f, vector.Y - (vector.X / 2f)));
                    return c;

                case enum0214.f00015c:
                    c.m000051(enum02f.f000045);
                    c.m000023(new Vector2((vector.X + vector.X) - vector.Y, vector.Y - (vector.X / 2f)));
                    return c;
            }
            return c;
        }
Beispiel #2
0
        public c000030 m0002df(enum0214 p0)
        {
            c000215 c = new c000215(p0);
            Vector2 vector = new Vector2(600f, 600f);
            Vector2 vector2 = new Vector2((c000074.m00000f() - vector.X) / 2f, (c000074.m000010() - vector.Y) / 2f);
            c.m000027(vector);
            c.m000023(vector2);
            switch (p0)
            {
                case enum0214.f00002b:
                case enum0214.f000090:
                    c.m000051(enum02f.f000044);
                    return c;

                case enum0214.f00009e:
                case enum0214.f00015a:
                    c.m000051(enum02f.f000001);
                    return c;

                case enum0214.f00015b:
                    c.m000051(enum02f.f000043);
                    return c;

                case enum0214.f00015c:
                    c.m000051(enum02f.f000045);
                    return c;
            }
            return c;
        }