A base class for all objects that contain, or make use of a path.
More...
#include <path_object.hpp>
|
void | init_path (const ReaderMapping &mapping, bool running_default) |
| For compatibilty reasons this needs to get the GameObjects main mapping, not the (path ...) mapping.
|
|
void | init_path_pos (const Vector &pos, bool running=false) |
|
PathGameObject * | get_path_gameobject () const |
|
Path * | get_path () const |
|
PathWalker * | get_walker () const |
|
void | editor_clone_path (PathGameObject *path_object) |
|
std::string | get_path_ref () const |
|
void | editor_set_path_by_ref (const std::string &new_ref) |
|
void | goto_node (int node_idx) |
| Moves the path object until at given node, then stops. More...
|
|
void | set_node (int node_idx) |
| Jumps instantly to the given node. More...
|
|
void | start_moving () |
| Starts moving the path object automatically.
|
|
void | stop_moving () |
| Stops moving the path object.
|
|
|
void | save_state () const |
|
void | check_state () const |
|
void | on_flip () |
|
|
static void | register_members (ssq::Class &cls) |
|
A base class for all objects that contain, or make use of a path.
◆ goto_node()
void PathObject::goto_node |
( |
int |
node_idx | ) |
|
Moves the path object until at given node, then stops.
- Parameters
-
◆ set_node()
void PathObject::set_node |
( |
int |
node_idx | ) |
|
Jumps instantly to the given node.
- Parameters
-
The documentation for this class was generated from the following files: