malena
Why malena
Quick start
Tutorials
API docs
GitHub
GitHub
Tutorials
Loading...
Searching...
No Matches
Graphics
Sprites
Sprite.h
Go to the documentation of this file.
1
#ifndef SPRITE_H
2
#define SPRITE_H
3
4
#pragma once
5
6
#include <
Malena/Graphics/Base/Graphic.h
>
7
#include <
Malena/Traits/Base/Customizable.h
>
8
9
namespace
ml
10
{
42
class
Sprite
:
public
Graphic
<sf::Sprite>
43
{
44
public
:
45
using
Graphic::Graphic
;
46
};
47
57
template
<
typename
MANIFEST>
58
class
SpriteWith
:
public
Sprite
,
public
Customizable
<MANIFEST> {};
// TODO: rename to SpriteWith
59
60
}
// namespace ml
61
62
#endif
// SPRITE_H
Customizable.h
Graphic.h
ml::Customizable< MANIFEST >::Customizable
Customizable()=default
ml::Graphic::Graphic
Graphic()
ml::Sprite
A framework-integrated sprite.
Definition
Sprite.h:43
ml::Sprite::Graphic
Graphic()
ml::SpriteWith
Sprite with an attached manifest.
Definition
Sprite.h:58
ml
Definition
Component.h:18
Generated by
1.16.1