Performance improvements: cheap overall + lazy timer spawn

This commit is contained in:
Wiktor Mazur
2019-09-19 18:37:01 +02:00
parent e9d60c60ed
commit 28e2886a13
4 changed files with 93 additions and 47 deletions
+2
View File
@@ -8,6 +8,8 @@ pub struct PlayerStatistics {
pub dps: f32,
}
pub type PlayerStatisticsVec = Vec<PlayerStatistics>;
impl DamageStats for PlayerStatistics {
fn damage(&self) -> f32 {
self.damage