This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
This is my implementation of the Command design pattern. | |
It decouples simple actions into a "Command" class that is | |
inherited by FireCommand, etc. | |
Written in python for simplicity sake. | |
For more info >> http://gameprogrammingpatterns.com/command.html | |
''' |