Looks like I fixed some spacing at some point. Moved Game_map and render_functions to the parent directory. For some reason they were in the venv folder. Added requirements.txt. Going to begin updating code to use latest version of tcod.
This commit is contained in:
@@ -21,8 +21,8 @@ class Rect:
|
||||
self.y2 = y + h
|
||||
|
||||
def center(self):
|
||||
center_x = int((self.x1 + self.x2) /2 )
|
||||
center_y = int((self.y1 + self.y2) /2 )
|
||||
center_x = int((self.x1 + self.x2) / 2)
|
||||
center_y = int((self.y1 + self.y2) / 2)
|
||||
return (center_x, center_y)
|
||||
|
||||
def intersect(self, other):
|
||||
|
||||
Reference in New Issue
Block a user