Prettier doc
This commit is contained in:
parent
d8da2f2625
commit
79144c28a3
@ -1,14 +1,9 @@
|
|||||||
.. DSZI_Survival documentation master file, created by
|
Dokumentacja projektu DSZI_Survival
|
||||||
sphinx-quickstart on Thu May 14 13:16:10 2020.
|
|
||||||
You can adapt this file completely to your liking, but it should at least
|
|
||||||
contain the root `toctree` directive.
|
|
||||||
|
|
||||||
Welcome to DSZI_Survival's documentation!
|
|
||||||
=========================================
|
=========================================
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
:caption: Contents:
|
:caption: Moduły:
|
||||||
|
|
||||||
src/game
|
src/game
|
||||||
src/entities
|
src/entities
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
AI
|
AI module
|
||||||
==
|
=========
|
||||||
|
|
||||||
|
A* algorhithm
|
||||||
|
*************
|
||||||
|
|
||||||
.. automodule:: AutomaticMovement
|
.. automodule:: AutomaticMovement
|
||||||
:members:
|
:members:
|
||||||
|
@ -1,32 +1,63 @@
|
|||||||
Entities
|
Entities
|
||||||
========
|
========
|
||||||
|
|
||||||
|
Entity
|
||||||
|
******
|
||||||
|
|
||||||
|
Klasa bazowa wszystkich dynamicznych obiektów w projekcie.
|
||||||
|
|
||||||
.. automodule:: Entity
|
.. automodule:: Entity
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
Player
|
||||||
|
******
|
||||||
|
|
||||||
|
Klasa reprezentująca gracza.
|
||||||
|
|
||||||
.. automodule:: Player
|
.. automodule:: Player
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
Interactable
|
||||||
|
************
|
||||||
|
|
||||||
|
Reprezentuje wszystkie obiekty, z którymi możliwa jest interakcja.
|
||||||
|
|
||||||
.. automodule:: Interactable
|
.. automodule:: Interactable
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
Pickupable
|
||||||
|
**********
|
||||||
|
|
||||||
|
Te obiekty znikają po interakcji.
|
||||||
|
|
||||||
.. automodule:: Pickupable
|
.. automodule:: Pickupable
|
||||||
:members:
|
:members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
Pomocnicze klasy
|
||||||
|
****************
|
||||||
|
|
||||||
|
Statistics
|
||||||
|
##########
|
||||||
|
|
||||||
|
Obiekt reprezentujący statystyki.
|
||||||
|
|
||||||
.. automodule:: Statistics
|
.. automodule:: Statistics
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
Enums
|
||||||
|
#####
|
||||||
|
|
||||||
|
Moduł zawierający przydatne enumeracje.
|
||||||
|
|
||||||
.. automodule:: Enums
|
.. automodule:: Enums
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:members:
|
:members:
|
||||||
|
@ -1,26 +1,59 @@
|
|||||||
Game
|
Game
|
||||||
====
|
====
|
||||||
|
|
||||||
|
Moduł przechowujący główne funkcjonalności i mechanikę.
|
||||||
|
|
||||||
|
Game
|
||||||
|
####
|
||||||
|
|
||||||
|
Klasa-skrypt reprezentująca obiekt gry. Zawiera główną pętle wykonawczą.
|
||||||
|
|
||||||
.. automodule:: Game
|
.. automodule:: Game
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
Screen
|
||||||
|
######
|
||||||
|
|
||||||
|
Reprezentuje wszystko co znajduje się na ekranie.
|
||||||
|
|
||||||
.. automodule:: Screen
|
.. automodule:: Screen
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
EventManager
|
||||||
|
############
|
||||||
|
|
||||||
|
Obsługuje eventy.
|
||||||
|
|
||||||
.. automodule:: EventManager
|
.. automodule:: EventManager
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
Map
|
||||||
|
###
|
||||||
|
|
||||||
|
Reprezentuję mapę, będącą kwadratową kratownicą. Zawiera informacje o wszystkich
|
||||||
|
entities, udostępnia metodę sprawdzające kolizje.
|
||||||
|
|
||||||
.. automodule:: Map
|
.. automodule:: Map
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
TerrainTile
|
||||||
|
###########
|
||||||
|
|
||||||
|
Reprezentuje kratkę terenu.
|
||||||
|
|
||||||
.. automodule:: TerrainTile
|
.. automodule:: TerrainTile
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
Timer
|
||||||
|
#####
|
||||||
|
|
||||||
|
Klasa odpowiadająca za śledzenie i formatowanie czasu w grze.
|
||||||
|
|
||||||
.. automodule:: Timer
|
.. automodule:: Timer
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
@ -1,40 +1,66 @@
|
|||||||
UI
|
UI
|
||||||
==
|
==
|
||||||
|
|
||||||
|
Ui
|
||||||
|
**
|
||||||
|
|
||||||
|
Kontener przechowujący wszystkie elementy interfejsu.
|
||||||
|
|
||||||
.. automodule:: Ui
|
.. automodule:: Ui
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
UiBar
|
||||||
|
*****
|
||||||
|
|
||||||
.. automodule:: UiBar
|
.. automodule:: UiBar
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
UiButton
|
||||||
|
********
|
||||||
|
|
||||||
.. automodule:: UiButton
|
.. automodule:: UiButton
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
UiConsole
|
||||||
|
*********
|
||||||
|
|
||||||
.. automodule:: UiConsole
|
.. automodule:: UiConsole
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
UiElement
|
||||||
|
*********
|
||||||
|
|
||||||
.. automodule:: UiElement
|
.. automodule:: UiElement
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
UiImage
|
||||||
|
*******
|
||||||
|
|
||||||
.. automodule:: UiImage
|
.. automodule:: UiImage
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
UiText
|
||||||
|
******
|
||||||
|
|
||||||
.. automodule:: UiText
|
.. automodule:: UiText
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
UiWindow
|
||||||
|
********
|
||||||
|
|
||||||
.. automodule:: UiWindow
|
.. automodule:: UiWindow
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
:members:
|
:members:
|
||||||
|
Loading…
Reference in New Issue
Block a user