mirror of
https://github.com/dylanbenzi/pacmen-sfml.git
synced 2026-11-27 08:26:59 +00:00
add pacman life indicators
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <SFML/Audio/SoundBuffer.hpp>
|
||||
#include <SFML/Graphics/Font.hpp>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <filesystem>
|
||||
#include <memory>
|
||||
@@ -43,6 +44,10 @@ public:
|
||||
return &sounds[soundName];
|
||||
};
|
||||
|
||||
sf::Font& getFont(const std::string& fontName) {
|
||||
return fonts[fontName];
|
||||
};
|
||||
|
||||
//load gameplay info
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user