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

Exercise 2.9 - Distance Attraction. More...

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

Public Member Functions

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

Detailed Description

Exercise 2.9 - Distance Attraction.

Uses a SimpleAttractor with a custom Attract implementation to push items that are too close.

Definition at line 12 of file C2Exercise9.cs.

Member Function Documentation

◆ GetSummary()

string Examples.Chapter2.C2Exercise9.GetSummary ( )
inline

Output a summary text

Returns
Summary text

Implements Examples.IExample.

Definition at line 14 of file C2Exercise9.cs.

15  {
16  return "Exercise 2.9:\n"
17  + "Distance Attraction";
18  }

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