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

Exercise 5.7 - Car Simulation. More...

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

Public Member Functions

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

Detailed Description

Exercise 5.7 - Car Simulation.

Uses SimpleBall with torque to drive the car. Reuses the WaveWall from Exercise 5.3.

Definition at line 12 of file C5Exercise7.cs.

Member Function Documentation

◆ GetSummary()

string Examples.Chapter5.C5Exercise7.GetSummary ( )
inline

Output a summary text

Returns
Summary text

Implements Examples.IExample.

Definition at line 14 of file C5Exercise7.cs.

15  {
16  return "Exercise 5.7:\n"
17  + "Car Simulation\n\n"
18  + "Touch screen to spawn balls";
19  }

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