Browse files


  • Loading branch information...
GandhiGames committed Jan 21, 2017
1 parent c4ce152 commit afdcd6b66a838098602546322a6178ae33e8fefc
Showing with 10 additions and 0 deletions.
  1. +10 −0
@@ -0,0 +1,10 @@
# Rewind Controller
Rewind actions in Unity.
The rewind ability in this project is made possible due to the Command Pattern. Which makes implementing a rewind ability surprisingly easy.
All actions in the scene (including player/enemy movement, deaths, projectile release/movement) are encapsulated as actionable command objects.
Each command has an execute and undo method.
When a command is generated it is added to a global group containing all commands executed.This group simply encapsulates a list and provides access to a Reverse method.

0 comments on commit afdcd6b

Please sign in to comment.