This commit is contained in:
Ryan Kennedy 2020-03-18 20:49:34 -05:00
parent 4ed02053d8
commit 2ff7cb8c09

View file

@ -31,12 +31,12 @@ impl ScreenCharacter {
}
/// Returns the `character` associated with the `ScreenCharacter`.
pub fn get_character(&self) -> u8 {
pub fn get_character(self) -> u8 {
self.character
}
/// Returns the `color` associated with the `ScreenCharacter`.
pub fn get_color(&self) -> TextModeColor {
pub fn get_color(self) -> TextModeColor {
self.color
}
}