Bottle 2D - Lua API 1.0.0
All you need to create games using bottle2D.
|
A text font, that can be loaded from a file. More...
#include <header.hpp>
Public Member Functions | |
Font () | |
Constructor to create an empty font. | |
Font (string filename) | |
Create a font and load it from a file. | |
nil | LoadFromFile (string filename) |
Load a texture from a file. |
A text font, that can be loaded from a file.
Font::Font | ( | ) |
Constructor to create an empty font.
Font::Font | ( | string | filename | ) |
Create a font and load it from a file.
nil Font::LoadFromFile | ( | string | filename | ) |
Load a texture from a file.
Note: the working directory is the mode's root directory.