renamed some variable and files

This commit is contained in:
Faraphel 2023-03-06 09:29:30 +01:00
parent eaa70a5c76
commit e64439b622
17 changed files with 31 additions and 35 deletions

View file

@ -6,12 +6,11 @@ A faire :
- Documenter (Docstring, README, ...)
2. Visuel :
- Système en gras ou en un peu différent
- Empêcher de spam "se connecter" dans le client (écran d'attente ?)
- Paramètres (contenu : fps, volume dans le jeu, plein écran, ...) (bouton dans le jeu)
- Rendre le texte de status plus visible (?)
- Police d'écriture
- Changer les images, rajouter les fonds, mettre la musique, ...
- Rendre le texte de status plus visible (fond un peu plus sombre ?)
- Changer les images, animations, rajouter les fonds, mettre la musique, ...
- Voir les TODOs
3. Autre :

View file

@ -1,7 +1,12 @@
from pathlib import Path
path_save: Path = Path(".save")
path_save: Path = Path("./.save")
path_save.mkdir(exist_ok=True)
path_history: Path = Path(".history")
path_history: Path = Path("./.history")
path_history.mkdir(exist_ok=True)
path_assets: Path = Path("./assets")
path_sound: Path = path_assets / "sound"
path_image: Path = path_assets / "image"
path_font: Path = path_assets / "font"

View file

@ -1,8 +1,8 @@
from . import path
from .type import Sound
from .abc import SoundGroup
from source import path_sound
path = path / "game"
path = path_sound / "game"
class Game(SoundGroup):

View file

@ -1,5 +1 @@
from pathlib import Path
path: Path = Path("./assets/sound")
from .Game import Game

View file

@ -1,8 +1,8 @@
from . import path
from .abc import Style
from source.gui.texture.type import Texture
from source import path_image
path = path / "background"
path = path_image / "background"
class Background(Style):

View file

@ -1,8 +1,8 @@
from . import path
from .abc import Style
from source.gui.texture.type import Texture
from source import path_image
path = path / "button"
path = path_image / "button"
class Button:

View file

@ -1,8 +1,8 @@
from . import path
from .abc import Style
from .type import Texture
from source import path_image
path = path / "checkbox"
path = path_image / "checkbox"
class Checkbox:

View file

@ -1,8 +1,8 @@
from . import path
from .abc import Style
from .type import Texture, Animation
from source import path_image
path = path / "grid"
path = path_image / "grid"
path_boat = path / "boat"

View file

@ -1,8 +1,8 @@
from . import path
from .abc import Style
from .type import Texture
from source import path_image
path = path / "input"
path = path_image / "input"
class Input:

View file

@ -1,8 +1,8 @@
from . import path
from .abc import Style
from .type import Texture
from source import path_image
path = path / "popup"
path = path_image / "popup"
class Popup:

View file

@ -1,8 +1,8 @@
from . import path
from .abc import Style
from .type import Texture
from source import path_image
path = path / "replay"
path = path_image / "replay"
class Replay:

View file

@ -1,8 +1,8 @@
from . import path
from .abc import Style
from .type import Animation
from source import path_image
path = path / "result"
path = path_image / "result"
class Result:

View file

@ -1,8 +1,8 @@
from . import path
from .abc import Style
from .type import Texture
from source import path_image
path = path / "scroller"
path = path_image / "scroller"
class Scroller:

View file

@ -1,7 +1,3 @@
from pathlib import Path
path: Path = Path("./assets/image")
from .Popup import Popup
from .Background import Background
from .Button import Button

View file

@ -1,5 +1,5 @@
from .copy_array_offset import copy_array_offset
from .in_bbox import in_bbox
from .matrice import copy_array_offset
from .bbox import in_bbox
from .dict import dict_filter, dict_filter_prefix
from .thread import StoppableThread
from .path import path_ctime_str