/*
* This file is part of laurelin_client
* Copyright (C) 2023 Jonni Liljamo <jonni@liljamo.com>
*
* Licensed under GPL-3.0-only.
* See LICENSE for licensing information.
*/
use bevy::prelude::*;
use crate::api::game::Action;
pub fn action_to_log(
action: &Action,
font: Handle<Font>,
style: TextStyle,
) -> Vec<TextSection> {
match &action.command {
_ => {
vec![
TextSection {
value: format!("No log configuration for this command"),
style: TextStyle {
..style
},
},
]
}
}
}