From 02d7ae7eb4e030ad84bc215c9d5703943607f66d Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 15 Jan 2019 03:07:33 +0100
Subject: [PATCH] Class renaming.

---
 client.py       | 4 ++--
 game_common.py  | 2 +-
 server_/game.py | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/client.py b/client.py
index dd40323..07d59c2 100755
--- a/client.py
+++ b/client.py
@@ -4,10 +4,10 @@ import plom_socket_io
 import socket
 import threading
 from parser import ArgError, Parser
-from game_common import World, Commander
+from game_common import World, CommonCommandsMixin
 
 
-class Game(Commander):
+class Game(CommonCommandsMixin):
     world = World()
     log_text = ''
 
diff --git a/game_common.py b/game_common.py
index 689398d..39a12f1 100644
--- a/game_common.py
+++ b/game_common.py
@@ -52,7 +52,7 @@ class Thing:
         self.position = [0,0]
 
 
-class Commander:
+class CommonCommandsMixin:
 
     def cmd_MAP_SIZE(self, yx):
         """Set self.map_size to yx, redraw self.terrain_map as '?' cells."""
diff --git a/server_/game.py b/server_/game.py
index c881f8e..e2a1187 100644
--- a/server_/game.py
+++ b/server_/game.py
@@ -193,7 +193,7 @@ def fib(n):
         return fib(n-1) + fib(n-2)
 
 
-class Game(game_common.Commander):
+class Game(game_common.CommonCommandsMixin):
 
     def __init__(self, game_file_name):
         import server_.io
-- 
2.30.2