Module RobotContext
[hide private]
[frames] | no frames]

Source Code for Module RobotContext

 1  # RobotContext.py 
 2   
 3  ''' 
 4  Dummy class to make RaspiBrick source compatible with RaspiSim. All methods are empty. 
 5  ''' 
 6   
 7   
 8  from Obstacle import Obstacle 
 9  from Target import Target 
10  from Torch import Torch 
11 12 -class RobotContext():
13 ''' 14 Dummy class to make RaspiBrick source compatible with RaspiSim. All methods are empty. 15 ''' 16 17 box = Obstacle("sprites/box.gif") 18 channel = Obstacle("sprites/channel.gif") 19
20 - def __init__(self):
21 pass
22 23 @staticmethod
24 - def addMouseListener(listener):
25 pass
26 27 @staticmethod
28 - def init():
29 pass
30 31 @staticmethod
32 - def useBackground(filename):
33 pass
34 35 @staticmethod
36 - def setStartPosition(x, y):
37 pass
38 39 @staticmethod
40 - def setStartDirection(direction):
41 pass
42 43 @staticmethod
44 - def setLocation(x, y):
45 pass
46 47 @staticmethod
48 - def useObstacle(*args):
49 pass
50 51 @staticmethod
52 - def useTarget(*args):
53 pass
54 55 @staticmethod
56 - def useTorch(*args):
57 pass
58 59 @staticmethod
60 - def useShadow(*args):
61 pass
62 63 @staticmethod
64 - def showNavigationBar(*args):
65 pass
66 67 @staticmethod
68 - def showStatusBar(height):
69 pass
70 71 @staticmethod
72 - def setStatusText(text):
73 pass
74