create input functionality

This commit is contained in:
Jonas Zeunert
2019-10-30 21:37:16 +01:00
parent be7b72244a
commit bdba9fc7c3
5 changed files with 124 additions and 1 deletions

15
cli/BankTarget.py Normal file
View File

@@ -0,0 +1,15 @@
from Target import Target
class BankTarget(Target):
def __init__(self, points):
super(points)
self.is_hit = False
def hit(self):
self.is_hit = True
super.hit()
#notify Bank
def reset(self):
self.is_hit = False