|
13 | 13 | from game.blocks.DestroyBlock import DestroyBlock |
14 | 14 | from game.blocks.droppedBlock import droppedBlock |
15 | 15 | from game.entity.Inventory import Inventory |
16 | | -from game.entity.Zombie import Zombie |
17 | 16 | from game.world.Clouds import Clouds |
18 | 17 | from game.world.worldGenerator import worldGenerator |
19 | 18 | from game.blocks.CubeHandler import CubeHandler |
@@ -81,8 +80,8 @@ def vertexList(self): |
81 | 80 | self.reticle = pyglet.graphics.vertex_list(4, ('v2f', (x - 10, y, x + 10, y, x, y - 10, x, y + 10)), |
82 | 81 | ('c3f', (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0))) |
83 | 82 |
|
84 | | - def initScene(self): |
85 | | - print("Init OpenGL scene...") |
| 83 | + def startScene(self): |
| 84 | + print("Started OpenGL scene...") |
86 | 85 |
|
87 | 86 | glClearColor(0.5, 0.7, 1, 1) |
88 | 87 | glClearDepth(1.0) |
@@ -111,10 +110,6 @@ def initScene(self): |
111 | 110 | self.cubes = CubeHandler(self.opaque, self.block, self.opaque, |
112 | 111 | ('leaves_taiga', 'leaves_oak', 'tall_grass', 'nocolor'), self) |
113 | 112 |
|
114 | | - self.zombie = Zombie(self) |
115 | | - self.zombie.position = [0, 53, 0] |
116 | | - self.entity.append(self.zombie) |
117 | | - |
118 | 113 | self.set3d() |
119 | 114 |
|
120 | 115 | def set2d(self): |
|
0 commit comments