more clean up
This commit is contained in:
parent
a1579442e1
commit
62565bd2d1
|
@ -122,7 +122,7 @@ impl<'a> App<'a> {
|
|||
|
||||
}
|
||||
|
||||
pub fn draw_initial<B: Backend>(&mut self, f: &mut Frame<B>) {}
|
||||
pub fn draw_initial<B: Backend>(&mut self, _f: &mut Frame<B>) {}
|
||||
|
||||
pub fn draw_guest_selection<B: Backend>(&mut self, f: &mut Frame<B>) {
|
||||
let chunks = Layout::default()
|
||||
|
|
|
@ -69,6 +69,7 @@ impl Creature {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn set_agenda(&mut self, agenda: Agenda) {
|
||||
self.agenda = agenda;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
use std::rc::Rc;
|
||||
|
||||
use crate::{state::{GameState, Action}, site::{Structure, Tavern, Site}, entity::{Location, Entity}};
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
use std::collections::HashMap;
|
||||
use std::rc::Rc;
|
||||
|
||||
use rand::prelude::*;
|
||||
use crate::entity::{Location, EntityId};
|
||||
|
@ -35,6 +34,7 @@ pub trait Action {
|
|||
}
|
||||
|
||||
impl Event {
|
||||
#[allow(dead_code)]
|
||||
pub fn description(&self) -> String {
|
||||
format!("{}: {}", self.time, self.effect.description())
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use std::{rc::Rc, collections::HashMap, fmt};
|
||||
use std::collections::HashMap;
|
||||
|
||||
use crate::{generators::TownNameGenerator, entity::{Location, Entity, EntityId}, site::Site};
|
||||
use crate::{entity::{Location, EntityId}, site::Site};
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
pub enum Terrain {
|
||||
|
|
Loading…
Reference in New Issue