Quantum Engineering
Public Member Functions | Private Member Functions | Private Attributes | List of all members
LaserController Class Reference

Public Member Functions

 LaserController (PlayerController playerController, GameManager gameManager)
 This class handles RaycastHits for the player's laser cannon. More...
 
void HitTarget (GameObject target, RaycastHit hit)
 Called when the player's laser cannon shoots something. More...
 

Private Member Functions

bool CanSendDestructionMessage ()
 Returns true if a message can be sent to the player's tablet. More...
 

Private Attributes

GameManager gameManager
 
PlayerController playerController
 

Constructor & Destructor Documentation

◆ LaserController()

LaserController.LaserController ( PlayerController  playerController,
GameManager  gameManager 
)
inline

This class handles RaycastHits for the player's laser cannon.

Member Function Documentation

◆ CanSendDestructionMessage()

bool LaserController.CanSendDestructionMessage ( )
inlineprivate

Returns true if a message can be sent to the player's tablet.

◆ HitTarget()

void LaserController.HitTarget ( GameObject  target,
RaycastHit  hit 
)
inline

Called when the player's laser cannon shoots something.

Member Data Documentation

◆ gameManager

GameManager LaserController.gameManager
private

◆ playerController

PlayerController LaserController.playerController
private

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