From cc71fb2308b04f6fab67490e99d0fb0ea1251031 Mon Sep 17 00:00:00 2001 From: Chaosus Date: Fri, 29 Mar 2019 11:10:57 +0300 Subject: Added functions to AStar for disable/enable points --- doc/classes/AStar.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/AStar.xml b/doc/classes/AStar.xml index e1b79a2a3e..685e17b6b5 100644 --- a/doc/classes/AStar.xml +++ b/doc/classes/AStar.xml @@ -226,6 +226,15 @@ Returns whether a point associated with the given id exists. + + + + + + + Returns whether a point is disabled or not for pathfinding. By default, all points are enabled. + + @@ -235,6 +244,17 @@ Removes the point associated with the given id from the points pool. + + + + + + + + + Disables or enables the specified point for pathfinding. Useful for making a temporary obstacle. + + -- cgit v1.2.3