RPG Components 2D

Guides

  • Installing RPG Components 2D
  • Introduction to OOP
  • Effective Godot using OOP

Class Reference

  • Character
  • Brain
  • Ability
  • Objects
  • Miscellaneous
  • Visuals & Audio
  • Singletons
RPG Components 2D
  • NavigationServer2DManager
  • Edit on GitHub

NavigationServer2DManager

Inherits: Object

A singleton for managing NavigationServer2D implementations.

Description

NavigationServer2DManager is the API for registering NavigationServer2D implementations and setting the default implementation.

Note: It is not possible to switch servers at runtime. This class is only used on startup at the server initialization level.

Methods

void

register_server(name: String, create_callback: Callable)

void

set_default_server(name: String, priority: int)


Method Descriptions

void register_server(name: String, create_callback: Callable) 🔗

Registers a NavigationServer2D implementation by passing a name and a Callable that returns a NavigationServer2D object.


void set_default_server(name: String, priority: int) 🔗

Sets the default NavigationServer2D implementation to the one identified by name, if priority is greater than the priority of the current default implementation.


© Copyright 2026, MUmarShahbaz.

Built with Sphinx using a theme provided by Read the Docs.