renamed some variable and files
This commit is contained in:
parent
eaa70a5c76
commit
e64439b622
17 changed files with 31 additions and 35 deletions
5
NOTE.md
5
NOTE.md
|
@ -6,12 +6,11 @@ A faire :
|
||||||
- Documenter (Docstring, README, ...)
|
- Documenter (Docstring, README, ...)
|
||||||
|
|
||||||
2. Visuel :
|
2. Visuel :
|
||||||
- Système en gras ou en un peu différent
|
|
||||||
- Empêcher de spam "se connecter" dans le client (écran d'attente ?)
|
- 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)
|
- Paramètres (contenu : fps, volume dans le jeu, plein écran, ...) (bouton dans le jeu)
|
||||||
- Rendre le texte de status plus visible (?)
|
|
||||||
- Police d'écriture
|
- 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
|
- Voir les TODOs
|
||||||
|
|
||||||
3. Autre :
|
3. Autre :
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
path_save: Path = Path(".save")
|
path_save: Path = Path("./.save")
|
||||||
path_save.mkdir(exist_ok=True)
|
path_save.mkdir(exist_ok=True)
|
||||||
|
|
||||||
path_history: Path = Path(".history")
|
path_history: Path = Path("./.history")
|
||||||
path_history.mkdir(exist_ok=True)
|
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"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from . import path
|
|
||||||
from .type import Sound
|
from .type import Sound
|
||||||
from .abc import SoundGroup
|
from .abc import SoundGroup
|
||||||
|
from source import path_sound
|
||||||
|
|
||||||
path = path / "game"
|
path = path_sound / "game"
|
||||||
|
|
||||||
|
|
||||||
class Game(SoundGroup):
|
class Game(SoundGroup):
|
||||||
|
|
|
@ -1,5 +1 @@
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
path: Path = Path("./assets/sound")
|
|
||||||
|
|
||||||
from .Game import Game
|
from .Game import Game
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from . import path
|
|
||||||
from .abc import Style
|
from .abc import Style
|
||||||
from source.gui.texture.type import Texture
|
from source.gui.texture.type import Texture
|
||||||
|
from source import path_image
|
||||||
|
|
||||||
path = path / "background"
|
path = path_image / "background"
|
||||||
|
|
||||||
|
|
||||||
class Background(Style):
|
class Background(Style):
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from . import path
|
|
||||||
from .abc import Style
|
from .abc import Style
|
||||||
from source.gui.texture.type import Texture
|
from source.gui.texture.type import Texture
|
||||||
|
from source import path_image
|
||||||
|
|
||||||
path = path / "button"
|
path = path_image / "button"
|
||||||
|
|
||||||
|
|
||||||
class Button:
|
class Button:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from . import path
|
|
||||||
from .abc import Style
|
from .abc import Style
|
||||||
from .type import Texture
|
from .type import Texture
|
||||||
|
from source import path_image
|
||||||
|
|
||||||
path = path / "checkbox"
|
path = path_image / "checkbox"
|
||||||
|
|
||||||
|
|
||||||
class Checkbox:
|
class Checkbox:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from . import path
|
|
||||||
from .abc import Style
|
from .abc import Style
|
||||||
from .type import Texture, Animation
|
from .type import Texture, Animation
|
||||||
|
from source import path_image
|
||||||
|
|
||||||
path = path / "grid"
|
path = path_image / "grid"
|
||||||
path_boat = path / "boat"
|
path_boat = path / "boat"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from . import path
|
|
||||||
from .abc import Style
|
from .abc import Style
|
||||||
from .type import Texture
|
from .type import Texture
|
||||||
|
from source import path_image
|
||||||
|
|
||||||
path = path / "input"
|
path = path_image / "input"
|
||||||
|
|
||||||
|
|
||||||
class Input:
|
class Input:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from . import path
|
|
||||||
from .abc import Style
|
from .abc import Style
|
||||||
from .type import Texture
|
from .type import Texture
|
||||||
|
from source import path_image
|
||||||
|
|
||||||
path = path / "popup"
|
path = path_image / "popup"
|
||||||
|
|
||||||
|
|
||||||
class Popup:
|
class Popup:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from . import path
|
|
||||||
from .abc import Style
|
from .abc import Style
|
||||||
from .type import Texture
|
from .type import Texture
|
||||||
|
from source import path_image
|
||||||
|
|
||||||
path = path / "replay"
|
path = path_image / "replay"
|
||||||
|
|
||||||
|
|
||||||
class Replay:
|
class Replay:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from . import path
|
|
||||||
from .abc import Style
|
from .abc import Style
|
||||||
from .type import Animation
|
from .type import Animation
|
||||||
|
from source import path_image
|
||||||
|
|
||||||
path = path / "result"
|
path = path_image / "result"
|
||||||
|
|
||||||
|
|
||||||
class Result:
|
class Result:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from . import path
|
|
||||||
from .abc import Style
|
from .abc import Style
|
||||||
from .type import Texture
|
from .type import Texture
|
||||||
|
from source import path_image
|
||||||
|
|
||||||
path = path / "scroller"
|
path = path_image / "scroller"
|
||||||
|
|
||||||
|
|
||||||
class Scroller:
|
class Scroller:
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
path: Path = Path("./assets/image")
|
|
||||||
|
|
||||||
from .Popup import Popup
|
from .Popup import Popup
|
||||||
from .Background import Background
|
from .Background import Background
|
||||||
from .Button import Button
|
from .Button import Button
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from .copy_array_offset import copy_array_offset
|
from .matrice import copy_array_offset
|
||||||
from .in_bbox import in_bbox
|
from .bbox import in_bbox
|
||||||
from .dict import dict_filter, dict_filter_prefix
|
from .dict import dict_filter, dict_filter_prefix
|
||||||
from .thread import StoppableThread
|
from .thread import StoppableThread
|
||||||
from .path import path_ctime_str
|
from .path import path_ctime_str
|
||||||
|
|
Loading…
Reference in a new issue