Add a doc string and a terminal newline
This commit is contained in:
parent
ce63c825b0
commit
ee915bd7c1
2 changed files with 9 additions and 1 deletions
|
@ -37,6 +37,14 @@ def find_fonts_directory():
|
|||
return possible_fonts_dir
|
||||
|
||||
def main(argv):
|
||||
'''
|
||||
Beginning of the game
|
||||
|
||||
Parameters
|
||||
----------
|
||||
argv : List[str]
|
||||
A standard argument list, most likely you'll get this from sys.argv
|
||||
'''
|
||||
args = parse_args(argv[1:], prog=argv[0])
|
||||
|
||||
log.init()
|
||||
|
|
|
@ -118,4 +118,4 @@ class HostileEnemy(AI):
|
|||
path: List[List[int]] = pathfinder.path_to(tuple(point))[1:].tolist()
|
||||
|
||||
# Convert from List[List[int]] to List[Tuple[int, int]].
|
||||
return [Point(index[0], index[1]) for index in path]
|
||||
return [Point(index[0], index[1]) for index in path]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue