ColorShapeLinks
An assignment for the AI course unit of the Bachelor in Videogames at Lusófona University
SessionView Class Reference

Script which renders the session UI. More...

Inherits MonoBehaviour.

Collaboration diagram for SessionView:
Collaboration graph

Events

Action PreMatch
 Event which notifies listeners that the session should move to the PreMatch state. More...
 
Action SwapPlayers
 Event which notifies listeners that current match players should be swapped. More...
 
Action StartNextMatch
 Event which notifies listeners that the next match should be started. More...
 
Action MatchClear
 Event which notifies listeners that the current match should be destroyed / cleared. More...
 
Action EndSession
 Event which notifies listeners that the session terminate. More...
 

Detailed Description

Script which renders the session UI.

Based on the MVC design pattern, composed in this case by the following classes:

  • Model - A list of Match instances can be considered the model, although there isn't a well defined model in this case.
  • View - This class.
  • Controller - SessionController.

Definition at line 24 of file SessionView.cs.

Event Documentation

◆ EndSession

Action EndSession

Event which notifies listeners that the session terminate.

Definition at line 742 of file SessionView.cs.

◆ MatchClear

Action MatchClear

Event which notifies listeners that the current match should be destroyed / cleared.

Definition at line 737 of file SessionView.cs.

◆ PreMatch

Action PreMatch

Event which notifies listeners that the session should move to the PreMatch state.

Definition at line 720 of file SessionView.cs.

◆ StartNextMatch

Action StartNextMatch

Event which notifies listeners that the next match should be started.

Definition at line 731 of file SessionView.cs.

◆ SwapPlayers

Action SwapPlayers

Event which notifies listeners that current match players should be swapped.

Definition at line 726 of file SessionView.cs.


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