changeset 15828 | 44b49f255e31 |
parent 15775 | 95402fa4e191 |
15827:64b0a5cead86 | 15828:44b49f255e31 |
---|---|
1 use hwphysics::common::{GearId, Millis}; |
|
1 use std::{ |
2 use std::{ |
2 cmp::{Eq, Ord, Ordering, PartialEq, PartialOrd}, |
3 cmp::{Eq, Ord, Ordering, PartialEq, PartialOrd}, |
3 collections::BinaryHeap, |
4 collections::BinaryHeap, |
4 }; |
5 }; |
5 use hwphysics::common::{GearId, Millis}; |
|
6 |
6 |
7 pub type EventId = u16; |
7 pub type EventId = u16; |
8 |
8 |
9 struct TimeEvent { |
9 struct TimeEvent { |
10 time: Millis, |
10 time: Millis, |