mirror of
https://github.com/tonytins/citylimits
synced 2025-06-26 09:44:44 -04:00
Major clean up and reorganization
- Upgraded to Godot 4 - Just remembered the basic principles are based on a tile editor, and dramatically simplified from there. Derp. - New state machine and license display add-ons. - Re-licensed under the GPL because Micropolis' assets aren't under a separate one.
This commit is contained in:
parent
55ed76c914
commit
c980445340
337 changed files with 5129 additions and 7661 deletions
33
addons/simple-state/templates/State/empty_state.gd
Normal file
33
addons/simple-state/templates/State/empty_state.gd
Normal file
|
@ -0,0 +1,33 @@
|
|||
# meta-default: true
|
||||
extends _BASE_
|
||||
|
||||
|
||||
# Called when the state is activated. (parents, then children)
|
||||
func _enter() -> void:
|
||||
pass
|
||||
|
||||
|
||||
# Called after the state is activated. (children, then parents)
|
||||
func _after_enter() -> void:
|
||||
pass
|
||||
|
||||
|
||||
# Called every physics frame (only when the state is active, of course). (parents, then children)
|
||||
func _update(delta: float) -> void:
|
||||
pass
|
||||
|
||||
|
||||
# Called at the end of every physics frame. (children, then parents)
|
||||
func _after_update(delta: float) -> void:
|
||||
pass
|
||||
|
||||
|
||||
# Called before the state is deactivated. (parents, then children)
|
||||
func _before_exit() -> void:
|
||||
pass
|
||||
|
||||
|
||||
# Called when the state is deactivated. (children, then parents)
|
||||
func _exit() -> void:
|
||||
pass
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue