Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ReflectionActivity.py
diff options
context:
space:
mode:
Diffstat (limited to 'ReflectionActivity.py')
-rw-r--r--ReflectionActivity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ReflectionActivity.py b/ReflectionActivity.py
index 4ee68f3..a49f4ad 100644
--- a/ReflectionActivity.py
+++ b/ReflectionActivity.py
@@ -248,7 +248,7 @@ state=%d' % (id, initiator, type, service, params, state))
return
self._processing_methods[command][0](payload)
- def start_new_game(self):
+ def send_new_game(self):
''' Send a new orientation, grid to all players '''
self.send_event('n|%s' % (json_dump(self._game.save_game())))
@@ -257,7 +257,7 @@ state=%d' % (id, initiator, type, service, params, state))
(dot_list, orientation) = json_load(payload)
self._game.restore_game(dot_list, orientation)
- def send_button_press(self, dot, color):
+ def send_dot_click(self, dot, color):
''' Send a dot click to all the players '''
self.send_event('p|%s' % (json_dump([dot, color])))