Created
November 30, 2015 12:51
-
-
Save kbparagua/b1a3d75d6d6bf64b2e59 to your computer and use it in GitHub Desktop.
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
# move up the singleton instance | |
Pacman.instance.move_up | |
# the same instance will move right | |
Pacman.instance.move_right | |
# the same instance will move down | |
Pacman.instance.move_down |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment