ge211
Image_sprite Class Reference

Detailed Description

A Sprite that displays a bitmap image.

Definition at line 164 of file ge211_sprites.h.

+ Inheritance diagram for Image_sprite:

Public Member Functions

 Image_sprite (std::string const &filename)
 Constructs an image sprite, given the filename of the image to display. More...
 

Constructor & Destructor Documentation

◆ Image_sprite()

Image_sprite ( std::string const &  filename)
explicit

Constructs an image sprite, given the filename of the image to display.

The image must be saved in the project's Resources/ directory. Many image formats are supported, including JPEG, PNG, GIF, BMP, etc.

Definition at line 188 of file ge211_sprites.cpp.


The documentation for this class was generated from the following files: