Closed bvssvni closed 10 years ago
Next thing I would like to move over is the Args
structures. These define the data that goes with different events.
tomaka suggested to separate the Render
and Update
from Input
, which will give the new structure:
pub enum GameEvent {
Render(RenderArgs),
Update(UpdateArgs),
Input(InputEvent)
}
I think we should make a gradual change from the Piston design to make it more flexible.
First we can start to move over things like
Mouse
andKeyboard
.