Collapse All Expand All

C#

Clarion Library 6.1.1
World..::..Destroy Method
World Class See Also Send Feedback

[This is preliminary documentation and is subject to change.]

Destroys the current singleton instance of the world class

Namespace: Clarion
Assembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)

# Syntax

C#
    public static void Destroy()

# Remarks

Caution
This method LITERALLY destroys the world, so use it at your own risk! Calling this method will clear All World objects (including agents) in the world singleton and the instance of the world singleton itself. Any calls to the static methods of the world class following a call to this method will result in an error. Therefore, if you need to use this method, make sure you call the Initialize()()()() method after calling this method.

# See Also

World Class
Clarion Namespace