C++ Project 2016-2017: Arkanoid
|
Factory: Creates EntitySFML. More...
#include <sfml_factory.h>
Public Member Functions | |
SFMLFactory (sf::RenderWindow &window) | |
unique_ptr< arkanoid::Player > | createPlayer () |
vector< unique_ptr< arkanoid::Wall > > | createWalls () |
vector< unique_ptr< arkanoid::Block > > | createBlocks (const string &file) |
unique_ptr< arkanoid::Ball > | createBall () |
Factory: Creates EntitySFML.
Definition at line 20 of file sfml_factory.h.
SFMLFactory::SFMLFactory | ( | sf::RenderWindow & | window | ) |
|
virtual |
Creates the arkanoidSFML::BallSFML.
Implements EntityFactory.
Definition at line 124 of file sfml_factory.cpp.
|
virtual |
Creates all the arkanoidSFML::BlockSFML.
file | The file where all the arkanoidSFML::BlockSFML are specified. |
Implements EntityFactory.
Definition at line 54 of file sfml_factory.cpp.
|
virtual |
Creates the arkanoidSFML::PlayerSFML.
Implements EntityFactory.
Definition at line 25 of file sfml_factory.cpp.
|
virtual |
Creates all the arkanoidSFML::WallSFML.
Implements EntityFactory.
Definition at line 30 of file sfml_factory.cpp.