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

Example 5.2 - Boxes and Walls. More...

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

Public Member Functions

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

Detailed Description

Example 5.2 - Boxes and Walls.

Uses RigidBody2D / StaticBody2D prefabs (SimpleWall / SimpleBox) to quickly build scenes with physics. Also uses SimpleTouchSpawner to spawn elements on touch.

Definition at line 17 of file C5Example2.cs.

Member Function Documentation

◆ GetSummary()

string Examples.Chapter5.C5Example2.GetSummary ( )
inline

Output a summary text

Returns
Summary text

Implements Examples.IExample.

Definition at line 19 of file C5Example2.cs.

20  {
21  return "Example 5.2:\n"
22  + "Boxes and Walls\n\n"
23  + "Touch screen to spawn boxes";
24  }

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