Bugz Door Project
Public Member Functions | Private Attributes | Friends | List of all members
door::Screen Class Reference

Public Member Functions

 Screen (Screen &)=default
 
void addPanel (std::unique_ptr< Panel > p)
 
bool update (Door &d)
 
void update (void)
 

Private Attributes

std::vector< std::unique_ptr< Panel > > panels
 vector of panels.
 

Friends

std::ostream & operator<< (std::ostream &os, const Screen &s)
 Outputs screen to stream. More...
 

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Screen s 
)
friend

Outputs screen to stream.

This iterates over panels, and outputs them. See door::Panel

Parameters
[in,out]osStream
[in]sScreen to send
Returns
std::ostream&

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