Example #1
0
    private void method_1(Map map_0, Ship ship_0, bool bool_0)
    {
        GClass904 behavior = base.C.Behavior;

        if (ship_0.IsNpc)
        {
            GClass914 gclass = behavior as GClass914;
            if (gclass != null)
            {
                gclass.method_38(false);
            }
        }
    }
Example #2
0
    private void method_2(Map map_0, Ship ship_0)
    {
        GClass904 behavior = base.C.Behavior;

        if (ship_0.IsNpc)
        {
            GClass914 gclass = behavior as GClass914;
            if (gclass != null && !gclass.method_37())
            {
                bool flag = map_0.Ships.Count(new Func <KeyValuePair <int, Ship>, bool>(GClass900.< > c.< > c_0.method_0)) == 1;
                gclass.method_38(flag);
                if (flag)
                {
                    base.Log.Info("New wave -- {ship}", ship_0.Name);
                }
            }
        }
    }