Optimized Docs (#7)

Authored-by: Dennis Ploeger <develop@dieploegers.de>
This commit is contained in:
Dennis Ploeger
2021-06-22 23:06:20 +02:00
committed by GitHub
parent d5a0022b7b
commit 58d880101d
111 changed files with 6362 additions and 801 deletions

34
docs/api/ESCPlayer.md Normal file
View File

@@ -0,0 +1,34 @@
<!-- Auto-generated from JSON by GDScript docs maker. Do not edit this document directly. -->
# ESCPlayer
**Extends:** [ESCItem](../ESCItem) < [Area2D](../Area2D)
## Description
A playable character
TODO
- Currently the sprite node needs to be named "sprite". This is bad.
- Animation management doesn't allow using AnimationPlayer yet. Need to find
the best solution to manage both AnimatedSprite and AnimationPlayer.
## Property Descriptions
### camera\_position\_node
```gdscript
export var camera_position_node = ""
```
The node that references the camera position
## Method Descriptions
### get\_camera\_pos
```gdscript
func get_camera_pos()
```
Return the camera position if a camera_position_node exists or the
global position of the player