diff --git a/modules/systems/state_machine/state.gd b/modules/systems/state_machine/state.gd index a3afd99..bedfcf3 100644 --- a/modules/systems/state_machine/state.gd +++ b/modules/systems/state_machine/state.gd @@ -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 extends Node diff --git a/modules/systems/state_machine/state_machine.gd b/modules/systems/state_machine/state_machine.gd index dc438fe..61f2720 100644 --- a/modules/systems/state_machine/state_machine.gd +++ b/modules/systems/state_machine/state_machine.gd @@ -1,3 +1,8 @@ +""" + Defines the State Machine class. This class handles the lifecycle of the +states that implement the gameplay. +""" + class_name StateMachine extends Node