Godot Nature of Code  1.2.0
Nature of Code implemented in Godot Engine
Public Member Functions | List of all members
Examples.Chapter2.C2Example8 Class Reference

Example 2.8 - Mutual Attraction. More...

Inheritance diagram for Examples.Chapter2.C2Example8:
Examples.IExample

Public Member Functions

string GetSummary ()
 Output a summary text More...
 

Detailed Description

Example 2.8 - Mutual Attraction.

By adding a SimpleAttractor as a child of SimpleMover, it will not try to attract its parent.

Definition at line 11 of file C2Example8.cs.

Member Function Documentation

◆ GetSummary()

string Examples.Chapter2.C2Example8.GetSummary ( )
inline

Output a summary text

Returns
Summary text

Implements Examples.IExample.

Definition at line 13 of file C2Example8.cs.

14  {
15  return "Example 2.8:\n"
16  + "Mutual Attraction";
17  }

The documentation for this class was generated from the following file: