Double Buffer Pattern

Double Buffered AI
- every buffer will be swapped at once.