Add staging api #18

Open
Quaternions wants to merge 7 commits from validate into master
Showing only changes of commit 1245ba1947 - Show all commits
+1
View File
@@ -35,6 +35,7 @@ pub trait Game: Clone {
}
/// Call .commit() to run the staged instruction.
/// Cannot be constructed other than by Game::stage_instruction.
pub struct StagedInstruction<'a, G: Game> {
game: &'a mut G,
stats: &'a mut G::Stats,