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

Exercise 1.8 - Acceleration towards mouse variant. More...

Inheritance diagram for Examples.Chapter1.C1Exercise8:
Examples.IExample

Public Member Functions

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

Detailed Description

Exercise 1.8 - Acceleration towards mouse variant.

Uses a custom SimpleMover with a specific UpdateAcceleration, with the distance between the mover and the mouse as an acceleration factor.

Definition at line 11 of file C1Exercise8.cs.

Member Function Documentation

◆ GetSummary()

string Examples.Chapter1.C1Exercise8.GetSummary ( )
inline

Output a summary text

Returns
Summary text

Implements Examples.IExample.

Definition at line 13 of file C1Exercise8.cs.

14  {
15  return "Exercise 1.8:\n"
16  + "Accel. towards mouse variant";
17  }

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