Example #1
0
        public static void ball_free()
        {
            if (has_solid != 0)
            {
                solid.sol_free_gl();

                has_solid = 0;
            }
        }
Example #2
0
        public static void game_client_free()
        {
            if (client_state != 0)
            {
                game_proxy.game_proxy_clr();
                file.sol_free_gl();
                back.sol_free_gl();
                Back.back_free();
            }

            client_state = 0;
        }
Example #3
0
        public void item_free()
        {
            if (item_coin_file != null)
            {
                item_coin_file.sol_free_gl();
                item_coin_file = null;
            }

            if (item_grow_file != null)
            {
                item_grow_file.sol_free_gl();
                item_grow_file = null;
            }

            if (item_shrink_file != null)
            {
                item_shrink_file.sol_free_gl();
                item_shrink_file = null;
            }
        }