

Public Member Functions | |
| CVideoSystemFactorySDL (int width, int height, int depth, int is_fullscreen) | |
Private Member Functions | |
| virtual CVideoSystem * | make_singleton () |
Definition at line 234 of file sdl_cvideo.cpp.
|
||||||||||||||||||||
|
The factory constructor takes as its parameters the width/height/depth/fullscreen values of the display and stores them inside itself so when it is told to make the singleton, it uses those as the parameters for CVideoSystemSDL's constructor. Definition at line 248 of file sdl_cvideo.cpp. |
|
|
The abstract factory class' single factory method, which must be defined by an implementation. The only thing it does is create and return a new instance of a singleton. Implements CSingletonFactory< CVideoSystem >. Definition at line 239 of file sdl_cvideo.cpp. |
1.3.3