feat: defined state and state machine concepts

This commit is contained in:
Sara 2025-07-19 20:06:42 +02:00
parent 7c0b338f68
commit 7c4c75d193
5 changed files with 124 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#include "state.h"
void State::_bind_methods() {
}
String State::get_next_state() const {
return this->get_class();
}
void State::set_state_machine(StateMachine *machine) {
this->state_machine = machine;
}
StateMachine *State::get_state_machine() const {
return this->state_machine;
}