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

Exercise 5.16 - Verlet Attraction Combo. More...

Inheritance diagram for Examples.Chapter5.C5Exercise16:
Examples.IExample

Public Member Functions

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

Detailed Description

Exercise 5.16 - Verlet Attraction Combo.

Uses two AttractionBehaviors, one for close objects, one for far objects.

Definition at line 10 of file C5Exercise16.cs.

Member Function Documentation

◆ GetSummary()

string Examples.Chapter5.C5Exercise16.GetSummary ( )
inline

Output a summary text

Returns
Summary text

Implements Examples.IExample.

Definition at line 12 of file C5Exercise16.cs.

13  {
14  return "Exercise 5.16\n"
15  + "Verlet Attraction Combo\n\n"
16  + "Attract particles far away, repulse particles at short distance\n"
17  + "You can move points by touching them\n";
18  }

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