1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Updated GDScript (markdown)

reduz
2014-12-08 16:38:47 -08:00
parent e16ce965e5
commit 77d1f70df4

@@ -413,7 +413,7 @@ extends "somefile.gd".Subclass
It's possible to check if an instance inherits from a given class. For this the “extends” keyword can be used as an operator instead:
```python
static var enemy_class = preload("enemy.gd") # cache the enemy class
const enemy_class = preload("enemy.gd") # cache the enemy class
[..]