#NEWLINE# def create_lives_entities( self ) : #NEWLINE# #INDENT# 'Create entities to represent the remaining lives' #NEWLINE# self . lives = [ ] #NEWLINE# verts = geometry . Vec2dArray ( PlayerShip . SHAPE_VERTS [ 3 : ] ) #NEWLINE# left = ( ( ( - window . width ) // 2 ) + 25 ) #NEWLINE# top = ( ( window . height // 2 ) - 25 ) #NEWLINE# for i in range ( 20 ) : #NEWLINE# #INDENT# entity = grease . Entity ( self . world ) #NEWLINE# entity . shape . verts = verts . transform ( scale = 0.75 ) #NEWLINE# entity . position . position = ( ( ( i * 20 ) + verts ) , top ) #NEWLINE# self . lives . append ( ( i , entity ) )