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

Example 3.5 - Simple Harmonic Motion. More...

Inheritance diagram for Examples.Chapter3.C3Example5:
Examples.IExample

Public Member Functions

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

Detailed Description

Example 3.5 - Simple Harmonic Motion.

Uses amplitude and period values (and _Draw method) to draw a moving ball. Uses frame count to limit speed.

Definition at line 10 of file C3Example5.cs.

Member Function Documentation

◆ GetSummary()

string Examples.Chapter3.C3Example5.GetSummary ( )
inline

Output a summary text

Returns
Summary text

Implements Examples.IExample.

Definition at line 12 of file C3Example5.cs.

13  {
14  return "Example 3.5:\n"
15  + "Simple Harmonic Motion";
16  }

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