thomas 0.2.4

An ECS game engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::Component;
use crate::Layer;
use crate::Rgb;

/// Data to describe how to render something in the terminal.
#[derive(Component, Debug)]
pub struct TerminalRenderer {
    pub display: char,
    pub layer: Layer,
    pub foreground_color: Option<Rgb>,
    pub background_color: Option<Rgb>,
}