29 Frame(
int new_width,
int new_height, std::string frame_str);
int m_height
Height of frame.
Definition: Frame.h:21
int getWidth() const
Get width of frame.
std::string m_frame_str
All frame characters stored as string.
Definition: Frame.h:22
std::string getString() const
Get frame characters (stored as string).
Frame()
Create empty frame.
void setHeight(int new_height)
Set height of frame.
int getHeight() const
Get height of frame.
void setString(std::string new_frame_str)
Set frame characters (stored as string).
Frame(int new_width, int new_height, std::string frame_str)
Create frame of indicated width and height with string.
int draw(Vector position, Color color, char transparency) const
Draw self, centered at position (x,y) with color.
void setWidth(int new_width)
Set width of frame.
int m_width
Width of frame.
Definition: Frame.h:20
An animation for a sprite.
Definition: Animation.h:15
Color
Colors Dragonfly recognizes.
Definition: Color.h:11