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

Example 2.5 - Fluid resistance. More...

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

Public Member Functions

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

Detailed Description

Example 2.5 - Fluid resistance.

Uses SimpleMover and SimpleLiquid to simulate fluid resistance. Behind the scenes, SimpleLiquid is based on Area2D overlap detection.

Definition at line 12 of file C2Example5.cs.

Member Function Documentation

◆ GetSummary()

string Examples.Chapter2.C2Example5.GetSummary ( )
inline

Output a summary text

Returns
Summary text

Implements Examples.IExample.

Definition at line 14 of file C2Example5.cs.

15  {
16  return "Example 2.5:\n"
17  + "Fluid Resistance";
18  }

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