Added comments explaining the function of classes

This commit is contained in:
pbentes 2024-08-29 23:31:16 +01:00
parent dc1e1b7397
commit dc8033e46e
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
"""
Defines the State class. This class is an interface that defines methods to
be overriden by the implementations to be used by the State Machine class.
"""
class_name State class_name State
extends Node extends Node

View File

@ -1,3 +1,8 @@
"""
Defines the State Machine class. This class handles the lifecycle of the
states that implement the gameplay.
"""
class_name StateMachine class_name StateMachine
extends Node extends Node