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
Sat, Aug 15, 9:01 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
77316
Default Alt Text
banner.h (462 B)

Event Timeline