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

Exercise 4.4 - Asteroids with Particles. More...

Inheritance diagram for Examples.Chapter4.C4Exercise4:
Examples.Chapter3.C3Exercise5 Examples.IExample Examples.IExample

Public Member Functions

new string GetSummary ()
 Output a summary text More...
 
- Public Member Functions inherited from Examples.Chapter3.C3Exercise5
string GetSummary ()
 Output a summary text More...
 

Additional Inherited Members

- Protected Attributes inherited from Examples.Chapter3.C3Exercise5
VirtualControls controls
 Virtual controls More...
 
Spaceship spaceship
 Spaceship More...
 

Detailed Description

Exercise 4.4 - Asteroids with Particles.

Reuses Asteroid from Exercise 3.5 with a SimpleParticleSystem.

Definition at line 11 of file C4Exercise4.cs.

Member Function Documentation

◆ GetSummary()

new string Examples.Chapter4.C4Exercise4.GetSummary ( )
inline

Output a summary text

Returns
Summary text

Implements Examples.IExample.

Definition at line 13 of file C4Exercise4.cs.

14  {
15  return "Exercise 4.4:\n"
16  + "Asteroids with Particles\n\n"
17  + "On desktop, use left and right arrow keys to turn, then up arrow key to thrust.\n"
18  + "On mobile, you can use the virtual controls.";
19  }

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