From f949692714e72a0e2d45ebb6a5d698424ab71dee Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 25 Dec 2017 13:54:09 +0000 Subject: [Broken] Reorganising and fixing. --- yage/core/sprite.h | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 yage/core/sprite.h (limited to 'yage/core/sprite.h') diff --git a/yage/core/sprite.h b/yage/core/sprite.h deleted file mode 100644 index 852f4f28..00000000 --- a/yage/core/sprite.h +++ /dev/null @@ -1,49 +0,0 @@ -/** --------------------------------------------------------------------------- - * @file: sprite.h - * - * Copyright (c) 2017 Yann Herklotz Grave - * MIT License, see LICENSE file for more details. - * ---------------------------------------------------------------------------- - */ - -#ifndef SPRITE_H -#define SPRITE_H - -#include "texture.h" - -#include - -#include - -namespace yage -{ - -/** @deprecated Use SpriteBatch instead - */ -class Sprite -{ -private: - float x_; - float y_; - float width_; - float height_; - GLuint vbo_id_ = 0; - Texture texture_; - -public: - Sprite() = default; - Sprite(const Sprite &) = delete; - Sprite(Sprite &&) = delete; - ~Sprite(); - - Sprite &operator=(const Sprite &) = delete; - Sprite &operator=(Sprite &&) = delete; - - void init(float x, float y, float width, float height, - const std::string &texture_path); - void draw(); -}; - -} // namespace yage - -#endif -- cgit