feat: add rollback button
This commit is contained in:
		| @@ -94,3 +94,8 @@ class Snapshot: | ||||
|             raycast_distances=car.rays.copy(), | ||||
|             image=None | ||||
|         ) | ||||
|  | ||||
|     def apply(self, car: Car): | ||||
|         car.pos = self.position.copy() | ||||
|         car.direction = self.direction.copy() | ||||
|         car.speed = 0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user