moved targets

This commit is contained in:
Jonas Zeunert
2020-01-23 21:37:11 +01:00
parent a4d2822f49
commit d3996200b2
3 changed files with 0 additions and 0 deletions

10
src/targets/Target.py Normal file
View File

@@ -0,0 +1,10 @@
class Target(Observable):
def __init__(self, points, name):
self.points = points
self.name = name
self.hit_key = "hit"
def hit(self):
#notify Observers
#notify Gamestate
self.trigger(self.hit_key, self)