mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 18:46:29 +03:00
34 lines
913 B
C++
34 lines
913 B
C++
#ifndef CGAMEOBJECTSUBTEXTUREEX_HPP
|
|
#define CGAMEOBJECTSUBTEXTUREEX_HPP
|
|
|
|
#include <eepp/gaming/base.hpp>
|
|
#include <eepp/gaming/gameobjectsubtexture.hpp>
|
|
|
|
namespace EE { namespace Gaming {
|
|
|
|
class EE_API GameObjectSubTextureEx : public GameObjectSubTexture {
|
|
public:
|
|
GameObjectSubTextureEx( const Uint32& Flags, MapLayer * Layer, Graphics::SubTexture * SubTexture = NULL, const Vector2f& Pos = Vector2f(), EE_BLEND_MODE Blend = ALPHA_NORMAL, EE_RENDER_MODE Render = RN_NORMAL, Float Angle = 0.f, Vector2f Scale = Vector2f::One, ColorA Color = ColorA() );
|
|
|
|
virtual ~GameObjectSubTextureEx();
|
|
|
|
virtual void draw();
|
|
|
|
virtual Uint32 getType() const;
|
|
|
|
virtual bool isType( const Uint32& type );
|
|
|
|
virtual void setFlag( const Uint32& Flag );
|
|
protected:
|
|
EE_BLEND_MODE mBlend;
|
|
EE_RENDER_MODE mRender;
|
|
Float mAngle;
|
|
Vector2f mScale;
|
|
ColorA mColor;
|
|
ColorA * mVertexColors;
|
|
};
|
|
|
|
}}
|
|
|
|
#endif
|