|
|
@@ -22,18 +22,17 @@ class Main: |
|
|
|
@classmethod |
|
|
|
def main (cls, argv: list, argc: int) -> None: |
|
|
|
mode = Mode.NIZIKA |
|
|
|
if argc > 0: |
|
|
|
match argv[0]: |
|
|
|
case '-g': |
|
|
|
mode = Mode.GOATOH |
|
|
|
match (argc > 0) and argv[0]: |
|
|
|
case '-g': |
|
|
|
mode = Mode.GOATOH |
|
|
|
|
|
|
|
case '-w': |
|
|
|
mode = Mode.DOUBLE |
|
|
|
case '-w': |
|
|
|
mode = Mode.DOUBLE |
|
|
|
|
|
|
|
goatoh_mode = mode == Mode.GOATOH |
|
|
|
double_mode = mode == Mode.DOUBLE |
|
|
|
|
|
|
|
print (goatoh_mode) |
|
|
|
print (mode) |
|
|
|
|
|
|
|
pygame.init () |
|
|
|
screen: pygame.Surface = pygame.display.set_mode ((1024, 768)) |
|
|
|