Added readme.md
Added keybind F9 for window mode Player gets damage if he gets hit by enemy projectile
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import GameObject
|
||||
|
||||
class Laserblaster(GameObject.Weapons):
|
||||
def __init__(self, name, pos_x, pos_y, width, height, screen, image=None) -> None:
|
||||
super().__init__(name, pos_x, pos_y, width, height, 10, 2, 0, image)
|
||||
def __init__(self, name, pos_x, pos_y, width, height, damage:int, firerate:int, duration:int, screen, image=None) -> None:
|
||||
super().__init__(name, pos_x, pos_y, width, height, damage, firerate, duration, screen, image)
|
||||
self.screen = screen
|
||||
self.image = image
|
||||
|
||||
|
||||
Reference in New Issue
Block a user