Browse Source

Draw tower to screen

master
Elis Axelsson 3 years ago
parent
commit
d0a58e32bb
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      classes/towers/tower.py

+ 8
- 0
classes/towers/tower.py View File

@ -16,3 +16,11 @@ class Tower(object):
if self.properties['surface'] is None:
raise ValueError('Missing surface for tower')
def draw(self, screen):
screen.blit(
self.properties['surface'],
self.properties['surface'].get_rect()
)
return screen

Loading…
Cancel
Save