SELAB3 Unity
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | List of all members
WallSC Class Reference

Side channel to place walls in the environment. More...

Inheritance diagram for WallSC:

Classes

class  WallRow
 A serializable class used to parse JSON sent through the wall side channel More...
 
class  WallSpec
 A serializable class used to parse JSON sent through the wall side channel More...
 

Public Member Functions

 WallSC (GameObject manipulator)
 Constructor of this side channel

Parameters
manipulatorobject that has the main scripts, like Builder.cs etc

 

Protected Member Functions

override void OnMessageReceived (IncomingMessage msg)
 Is called when a message is sent through the side channel. When the message is a wall, instructs the WallBuilder to build a new wall. Otherwise all walls are cleared.

Parameters
msgThe message, either a JSON string parseable to WallSpec (for building a new wall) or any other string (to remove all walls)

 

Detailed Description

Side channel to place walls in the environment.

It supports two operations: adding one wall and removing all walls.


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