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

Example 2.3 - Gravity scaled by mass. More...

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

Public Member Functions

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

Detailed Description

Example 2.3 - Gravity scaled by mass.

Uses object Mass to scale gravity when applying force.

Definition at line 11 of file C2Example3.cs.

Member Function Documentation

◆ GetSummary()

string Examples.Chapter2.C2Example3.GetSummary ( )
inline

Output a summary text

Returns
Summary text

Implements Examples.IExample.

Definition at line 13 of file C2Example3.cs.

14  {
15  return "Example 2.3:\n"
16  + "Gravity scaled by mass";
17  }

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