mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
make some enums
This commit is contained in:
@@ -1,7 +1,23 @@
|
||||
from dataclasses import dataclass, field
|
||||
from enum import IntEnum
|
||||
from pathlib import Path
|
||||
from typing import Any, TypedDict
|
||||
|
||||
class Difficulty(IntEnum):
|
||||
EASY = 0
|
||||
NORMAL = 1
|
||||
HARD = 2
|
||||
ONI = 3
|
||||
URA = 4
|
||||
TOWER = 5
|
||||
DAN = 6
|
||||
|
||||
class Crown(IntEnum):
|
||||
NONE = 0
|
||||
CLEAR = 1
|
||||
FC = 2
|
||||
DFC = 3
|
||||
|
||||
class GeneralConfig(TypedDict):
|
||||
fps_counter: bool
|
||||
audio_offset: int
|
||||
|
||||
Reference in New Issue
Block a user