Ajout d'une structure de base pour le projet

This commit is contained in:
Yannis 2023-12-21 19:35:51 +01:00
parent a47a924754
commit 63c2b94313
Signed by: yannis
SSH key fingerprint: SHA256:Bz8K8QiTYUudf8MlthTM9MCLfgiYf/U1md3V9g9Wo14
5 changed files with 19 additions and 1 deletions

2
.gitignore vendored
View file

@ -158,5 +158,5 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
.idea/

2
launcher.py Normal file
View file

@ -0,0 +1,2 @@
if __name__ == '__main__':
import src.main

6
src/engine.py Normal file
View file

@ -0,0 +1,6 @@
class Engine:
def __init__(self):
pass
def loop(self):
pass

4
src/main.py Normal file
View file

@ -0,0 +1,4 @@
from engine import Engine
engine = Engine()
engine.loop()

6
src/renderer.py Normal file
View file

@ -0,0 +1,6 @@
class Renderer:
def __init__(self):
pass
def loop(self):
pass