Page MenuHomePhabricator (Chris)

banner.h
No OneTemporary

Authored By
Unknown
Size
462 B
Referenced Files
None
Subscribers
None

banner.h

#ifndef BANNER_H
#define BANNER_H
#include <string>
#include <SFML/Graphics.hpp>
class Banner: public sf::Drawable, public sf::Transformable
{
public:
explicit Banner(sf::Font *gameFont);
void setText(std::string newText);
bool active;
std::string textStr;
sf::Text text;
float timeDownCounter;
void update(sf::Time frameTime);
virtual void draw(sf::RenderTarget& target, sf::RenderStates states) const;
};
#endif // BANNER_H

File Metadata

Mime Type
text/x-c++
Expires
Sun, Nov 15, 2:30 AM (3 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
132045
Default Alt Text
banner.h (462 B)

Event Timeline