Loading...
Searching...
No Matches
Sprite.h
Go to the documentation of this file.
1// Copyright (c) 2025 Dave R. Smith. All rights reserved.
2// Malena Framework — Proprietary Software. See LICENSE for terms.
3
4#ifndef MALENA_SPRITE_H
5#define MALENA_SPRITE_H
6
7#pragma once
8
12
13namespace ml
14{
46 class MALENA_API Sprite : public Graphic<sf::Sprite>
47 {
48 public:
49 using Graphic::Graphic;
50#ifdef _WIN32
51 ~Sprite() override;
52#endif
53 };
54
64 template<typename MANIFEST>
65 class SpriteWith : public Sprite, public Customizable<MANIFEST> {}; // TODO: rename to SpriteWith
66
67} // namespace ml
68
69#endif // MALENA_SPRITE_H
A framework-integrated sprite.
Definition Sprite.h:47
Sprite with an attached manifest.
Definition Sprite.h:65
#define MALENA_API
Definition Component.h:22