예제 #1
0
 def load_notes(self):
     """
     This method generates a list of notes and adds them into the group.
     
     """
     list_of_notes = Note.generate_note_list(self.total_notes, constants.GREEN, 5, -100)
     
     for note in list_of_notes:
         self.note_sprites.add(note)
예제 #2
0
 def load_enemy_notes(self):
     """
     This method generates a list of enemy notes and adds them into 
     the group.
     
     """
     list_of_notes = Note.generate_note_list(self.total_notes, constants.RED, 7, -300)
     
     for note in list_of_notes:
         self.enemy_note_sprites.add(note)