Public Member Functions

Renderer2D< Board2DType > Class Template Reference

Base class for 2D board renderers. More...

#include <Renderers/Renderer2D.hpp>

Inheritance diagram for Renderer2D< Board2DType >:
Renderer< Board2DType > Listener< Move< Board2DType::Coords > >

List of all members.

Public Member Functions

virtual void displayBoard ()

Detailed Description

template<typename Board2DType>
class Renderer2D< Board2DType >

Base class for 2D board renderers.

This base gives an implementation of displayBoard() for 2D boards which will call the displayPiece() function for all cases.


Member Function Documentation

template<typename Board2DType>
virtual void Renderer2D< Board2DType >::displayBoard (  )  [inline, virtual]

draw call to display the pieces on 2D board

Implements Renderer< Board2DType >.

Reimplemented in ConsoleChessDisplay.


The documentation for this class was generated from the following file:
 All Classes Functions Variables