Skip to content

ScriptingPathObject

SuperTux Bot edited this page Jul 8, 2024 · 2 revisions

This file is auto-generated from the SuperTux source code, using the template ScriptingPage.md.

Summary

A base class for all objects that contain, or make use of a path.

Instances

None.

Inheritance

The following classes inherit functions and variables from this class:

Methods

Method Explanation
void goto_node(int node_idx) Moves the path object until at given node, then stops.
void set_node(int node_idx) Jumps instantly to the given node.
void start_moving() Starts moving the path object automatically.
void stop_moving() Stops moving the path object.

Variables

None.

Constants

None.

Clone this wiki locally