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

Exercise 3.3 - Car Drive. More...

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

Public Member Functions

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

Detailed Description

Exercise 3.3 - Car Drive.

Simple drivable car using arrow keys or VirtualControls.

Definition at line 11 of file C3Exercise3.cs.

Member Function Documentation

◆ GetSummary()

string Examples.Chapter3.C3Exercise3.GetSummary ( )
inline

Output a summary text

Returns
Summary text

Implements Examples.IExample.

Definition at line 13 of file C3Exercise3.cs.

14  {
15  return "Exercise 3.3:\n"
16  + "Car Drive\n\n"
17  + "On desktop, use arrow keys (left arrow accelerates the car to the left, right to the right).\n"
18  + "On mobile, you can use the virtual controls.";
19  }

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