ColorShapeLinks AI
An AI competition for the IEEE Conference on Games 2021
SimpleRenderingListener Class Reference

Simple event listener which renders thinker, match and session information on the console. More...

+ Inheritance diagram for SimpleRenderingListener:
+ Collaboration diagram for SimpleRenderingListener:

Public Member Functions

void ListenTo (IThinker subject)
 Register listener with a thinker event producer. More...
 
void ListenTo (IMatchSubject subject)
 Register listener with a match event producer. More...
 
void ListenTo (ISessionSubject subject)
 Register listener with a session event producer. More...
 

Detailed Description

Simple event listener which renders thinker, match and session information on the console.

Member Function Documentation

◆ ListenTo() [1/3]

void ListenTo ( IMatchSubject  subject)
inline

Register listener with a match event producer.

Parameters
subjectThe match event producer which this listener will be listen to.
See also
IMatchListener.ListenTo, ColorShapeLinks.TextBased.Lib.IMatchListener.ListenTo

Implements IMatchListener.

◆ ListenTo() [2/3]

void ListenTo ( ISessionSubject  subject)
inline

Register listener with a session event producer.

Parameters
subjectThe session event producer which this listener will be listen to.
See also
ColorShapeLinks.TextBased.Lib.ISessionListener.ListenTo

Implements ISessionListener.

◆ ListenTo() [3/3]

void ListenTo ( IThinker  subject)
inline

Register listener with a thinker event producer.

Parameters
subjectThe thinker event producer which this listener will be listen to.
See also
ColorShapeLinks.TextBased.Lib.IThinkerListener.ListenTo

Implements IThinkerListener.


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