+ roach.level_layer = 'floor' # always the case for now
+ roach.move = partial(move, roach)
+ roach.last_moved = 0
+ roach.last_attacked= 0
+ roach.start_pos = None
+ each_tick(roach.move)
+ roach.attack = partial(attack, roach)
+ return roach
+
+
+def get_rat(level):
+ roach = default_rats.assemble()
+ roach.anchor = (0, 0)
+ roach.game_pos = (0, 0)
+ roach.health = 10
+ roach.damage = 2
+ roach.angle = 0
+ roach.hit_sound = sounds.load('enemy_hit')
+ roach.level = level
+ roach.level_layer = 'floor' # always the case for now
+ roach.move = partial(move, roach)
+ roach.last_moved = 0
+ roach.last_attacked= 0
+ roach.start_pos = None
+ each_tick(roach.move)
+ roach.attack = partial(attack, roach)
+ return roach
+
+
+def get_robot(level):
+ roach = default_robots.assemble()
+ roach.anchor = (0, 0)
+ roach.game_pos = (0, 0)
+ roach.health = 10
+ roach.damage = 5
+ roach.angle = 0
+ roach.level = level
+ roach.hit_sound = sounds.load('enemy_hit')
+ roach.level_layer = 'floor' # always the case for now