Skip to content

Commit

Permalink
Cleaned up long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
rangera committed Dec 18, 2013
1 parent 3ae27ac commit 5427b0a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fitg/client/entities/environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def updatepoints(self):
angle = self.startangle
while angle < self.endangle:
angle = angle + UNITANGLE / 2
self.collision_points.append((int(self.center[0] + (cos(angle) * self. averadius)), int(self.center[1] - (sin(angle) * self. averadius))))
self.collision_points.append((int(self.center[0] + (cos(angle) * self. averadius)),
int(self.center[1] - (sin(angle) * self. averadius))))
angle = angle + UNITANGLE / 2
self.stacks = len(self.collision_points)

Expand Down Expand Up @@ -98,7 +99,8 @@ def __init__(self, parent, planetrect):
self.refresh = True
self.planet = planetrect
self.environ_list = []
self.envarc = pygame.Rect(planetrect.topleft[0] - 75, planetrect.topleft[1] - 75, planetrect.width + 150, planetrect.height + 150)
self.envarc = pygame.Rect(planetrect.topleft[0] - 75, planetrect.topleft[1] - 75,
planetrect.width + 150, planetrect.height + 150)

#def addEnviron(self, idnumber, type, size, race, creature, politics):
def addEnviron(self, environdict):
Expand Down

0 comments on commit 5427b0a

Please sign in to comment.