moved maps to cache dir
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
import os
|
||||
from math import floor
|
||||
from typing import Optional
|
||||
|
||||
import platformdirs
|
||||
import pygame
|
||||
|
||||
from src.image_handler import ImageHandler
|
||||
@ -10,7 +12,7 @@ class Editor:
|
||||
WIDTH: int = 800
|
||||
HEIGHT: int = 600
|
||||
MAP_SIZE: int = 1024
|
||||
MAPS_DIR: str = "/tmp/lycacraft_maps"
|
||||
MAPS_DIR: str = os.path.join(platformdirs.user_cache_dir(appname="lycacraft-paths", appauthor="Lycacraft"), "maps")
|
||||
ZOOMS: tuple[float] = (0.25, 0.5, 1, 2, 4)
|
||||
CROSSHAIR_SIZE: int = 10
|
||||
|
||||
|
Reference in New Issue
Block a user