Merge pull request 'Ajout d'une structure de base pour le projet' (#1) from main into Engine_base

Reviewed-on: Really-Fun-Games/NSI-RPG#1
This commit is contained in:
Yannis 2023-12-22 14:10:11 +00:00 committed by Gitea
commit 6e60e67965
No known key found for this signature in database
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