You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: view.rs
    path of file: ./repos/zemeroth/src/screen/battle
    
    the code of the file until where you have to start completion: use std::{collections::HashMap, default::Default, time::Duration};

use mq::{color::Color, math::Vec2};

use zscene::{action, Action, Boxed, Layer, Scene, Sprite};

use crate::{
    assets,
    core::{
        battle::{
            self, ability::Ability, command, component::ObjType, execute::hit_chance, movement,
            state, Id, Jokers, Moves, State, TileType
    
    fn clean_highlighted_tiles(&mut self) {
        for sprite in self.sprites.highlighted_tiles.split_off(0) {
            let color = sprite.color();
            let color = Color { a: 0.0, ..color };
            let action = {
                let layer = &self.layers().highlighted_tiles;
                let time = time_s(0.3);
                visualize::seq(vec![
                    action::ChangeColorTo::new(&sprite, color, time).boxed(),
                    action::Hide::new(layer, &sprite).boxed(),
                ])
            };
            self.add_action(action);
        }
    }